Cheat Cube the Universal Operating System

Total Page:16

File Type:pdf, Size:1020Kb

Cheat Cube the Universal Operating System Adult supervision req Adult Modifié par Gardouille uired for using scisso uired rs :p Cheat Cube The Universal Operating System Network Configuration SYSTEM SERVICES INSTALLING, REMOVING, UPDATING $ ifconfig show network information su 'command' run command as root $ uname -r get kernel release # aptitude update refresh available updates $ iwconfig show wireless information su open a root shell $ uname -a get system information # aptitude install pqt install pkg # iwlist scan scan for wireless networks sudo -s open a root shell with user's preferences # service daemon start start daemon # aptitude safe-upgrade upgrade all packages # service networking restart restart NetworkManager su user open a shell as user # service daemon stop stop daemon # aptitude full-upgrade upgrade Debian version # ifup interface bring interface online passwd change your password # service daemon restart restart daemon # aptitude search pqt search package # ifdown interface disable interface $ service daemon status view daemon status # aptitude show pqt show information about package # editor /etc/network/interfaces config file of network chown user:group file change owner:group of file $ runlevel get current runlevel # aptitude remove pqt uninstall pkg interface chgrp group file change group of file # chkconfig --level 35 service on/off set service to run/ # aptitude purge pqt uninstall pkg and it's settings chmod MODE file change file permissions not run in runlevels 3,5 # aptitude hold pqt not update this package Firewall Configuration MODE: DISPLAY # aptitude clean clean download packages # service iptables start/stop start or stop the firewall n1(user)n2(group)n3(others) Ctrl+Alt+Bksp restart X display if frozen # aptitude aptitude interface (ncurses) # iptables -L show current config 4(read)2(write)1(execute) Ctrl+Alt+FN switch to tty N # dpkg -i pqt.deb install file pkg.deb # iptables -a INPUT -j ACCEPT/REJECT allow or reject all e.g.: 755 read-write-execute Ctrl+Alt+F7 switch back to X display # dpkg -l list installed packages connections for owner, read-execute for # dexconf reset xorg.conf # editor /etc/apt/sources.list APT repository list (file) # iptables -a INPUT --dport port -j ACCEPT/REJECT group and others. Recovery Type the phrase "REISUB" while holding down Alt allow or reject connection to port and SysR (PrintScrn) with about 1 second between each letter # iptables -F reset firewall config See man command for more options See man command for more options See man command for more options See man command for more options NETWORK PERMISSIONS SYSTEM AND DISPLAY PACKAGE MANAGEMENT # requires root permissions # requires root permissions # requires root permissions $ requires normal user permissions $ requires normal user permissions $ requires normal user permissions See See /etc /home/user mount-o loop mount-t ln -s rm-r rm mkdir mv cp-r cp ls -a ls pwd cd - cd.. cd list files in work dir file dest directory file man source dest change to previou global system sett display current dir display current list all files (includi file link change to parent d change to parent FILES & DIRECTORIE directory dest folder new-directory remove file* remove command type device mount- copy file to dest remove folder recu remove change to director or create symbolic lin create move/rename file/ move/rename iso mount-point ~/ for more options more for your home directo copy directory to d copy directory create new-directo create ectory s directory ings ectory ng hidden files) irectory point mount iso image y rsively* k of file mount device directory to directory ry est ry S.
Recommended publications
  • Version 7.8-Systemd
    Linux From Scratch Version 7.8-systemd Created by Gerard Beekmans Edited by Douglas R. Reno Linux From Scratch: Version 7.8-systemd by Created by Gerard Beekmans and Edited by Douglas R. Reno Copyright © 1999-2015 Gerard Beekmans Copyright © 1999-2015, Gerard Beekmans All rights reserved. This book is licensed under a Creative Commons License. Computer instructions may be extracted from the book under the MIT License. Linux® is a registered trademark of Linus Torvalds. Linux From Scratch - Version 7.8-systemd Table of Contents Preface .......................................................................................................................................................................... vii i. Foreword ............................................................................................................................................................. vii ii. Audience ............................................................................................................................................................ vii iii. LFS Target Architectures ................................................................................................................................ viii iv. LFS and Standards ............................................................................................................................................ ix v. Rationale for Packages in the Book .................................................................................................................... x vi. Prerequisites
    [Show full text]
  • Use of Third Party Libraries Docker Postgres-9.6.6
    Docker postgres-9.6.6 - Use of Third Party Libraries Name Selected License libc-utils 0.7 (BSD) BSD-Style License libedit 20150325.3.1 (BSD) BSD-Style License libuuid 2.28.2 (BSD-3) BSD-Style License readline 6.3 (GPL) GNU General Public License alpine-baselayout 3.0.4 (GPL v2) GNU General Public License v2.0 apk-tools 2.6.9 (GPL v2) GNU General Public License v2.0 busybox 1.25.1 (GPL v2) GNU General Public License v2.0 scanelf 1.1.6 (GPL2) GNU General Public License v2.0 bash 4.3.46 (GPL v3) GNU General Public License v3.0 or later libgcrypt 1.7.9 (LGPL v2.1) GNU Library General Public License v2.0 or later libgpg-error 1.24 (LGPL v2.1) GNU Library General Public License v2.0 or later alpine-keys 1.3-r0 (MIT) MIT License (also X11) libxml2 2.9.4 (MIT) MIT License (also X11) libxslt 1.1.29 (MIT) MIT License (also X11) su-exec 0.2 (MIT) MIT License (also X11) musl 1.1.15 (MIT) MIT-Style License musl-utils 1.1.15 (MIT) MIT-Style License ncurses-libs 6.0 (MIT) MIT-Style License libcrypto1.0 1.0.2m (openssl) OpenSSL License libressl2.4-libcrypto 2.4.4 (OpenSSL) OpenSSL License libressl2.4-libssl 2.4.4 (OpenSSL) OpenSSL License libssl1.0 1.0.2m (OpenSSL) OpenSSL License tzdata 2016i (Public Domain) Public Domain postgres-9.6.6-alpine-3.5.2 (PostgreSQL) The PostgreSQL License ncurses-terminfo 6.0 (MIT) X11 License ncurses-terminfo-base 6.0 (MIT) X11 License zlib 1.2.11 (zlib) zlib License Docker postgres-9.6.6 - Third-Party Notices Report [alpine-baselayout 3.0.4 (GPL v2)] Copyright Statements TOC 1.3.1 1 License Agreements Recipients who would like to receive a copy of such source code should submit a request to Tripwire by email, at [email protected].
    [Show full text]
  • UG1144 (V2020.1) July 24, 2020 Revision History
    See all versions of this document PetaLinux Tools Documentation Reference Guide UG1144 (v2020.1) July 24, 2020 Revision History Revision History The following table shows the revision history for this document. Section Revision Summary 07/24/2020 Version 2020.1 Appendix H: Partitioning and Formatting an SD Card Added a new appendix. 06/03/2020 Version 2020.1 Chapter 2: Setting Up Your Environment Added the Installing a Preferred eSDK as part of the PetaLinux Tool section. Chapter 4: Configuring and Building Added the PetaLinux Commands with Equivalent devtool Commands section. Chapter 6: Upgrading the Workspace Added new sections: petalinux-upgrade Options, Upgrading Between Minor Releases (2020.1 Tool with 2020.2 Tool) , Upgrading the Installed Tool with More Platforms, and Upgrading the Installed Tool with your Customized Platform. Chapter 7: Customizing the Project Added new sections: Creating Partitioned Images Using Wic and Configuring SD Card ext File System Boot. Chapter 8: Customizing the Root File System Added the Appending Root File System Packages section. Chapter 10: Advanced Configurations Updated PetaLinux Menuconfig System. Chapter 11: Yocto Features Added the Adding Extra Users to the PetaLinux System section. Appendix A: Migration Added Tool/Project Directory Structure. UG1144 (v2020.1) July 24, 2020Send Feedback www.xilinx.com PetaLinux Tools Documentation Reference Guide 2 Table of Contents Revision History...............................................................................................................2
    [Show full text]
  • C/C++ Compile Guide
    WizFi630S Guide C/C++ Compile Guide (Version 1.0.0) © 2019 WIZnet Co., Ltd. All Rights Reserved. For more information, please visit our website at http://www.wiznet.io/ © Copyright 2019 WIZnet Co., Ltd. All rights reserved. 1 WizFi630S Guide Document Revision History Date Revision Changes 2019-11-25 1.0 Release © Copyright 2019 WIZnet Co., Ltd. All rights reserved. 2 WizFi630S Guide Contents 1. Overview ................................................................................................................. 4 2. Download ................................................................................................................ 4 2.1 Prerequisites .................................................................................................. 4 2.2 Packages for Building Environment .......................................................... 4 2.3 OpenWRT Firmware Repository................................................................. 6 2.4 Menuconfig .................................................................................................... 7 3. Write C Code........................................................................................................... 7 3.1 Helloworld ...................................................................................................... 7 3.2 Make the Environment Script .................................................................... 8 4. Cross Compile ......................................................................................................... 8 4.1
    [Show full text]
  • Ncurses Is a UNIX Thing
    04_107591 ch01.qxp:Layout 1 3/14/16 3:38 PM Page 1 CH AP T ER 1 The Setup This chapter covers a basic setup and organization for you to get started with NCurses programming. Here you’ll find: II An introduction to the terminal window in UNIX II A smattering of basic shell commands II curses Creating a special directory for this document’s programs II A review of available text editors II The creation of a basic NCurses program II A review of the gcc compiler and linking commands II Re-editing source code and debugging exercises The idea hereCOPYRIGHTEDis to show you how everything MATERIALworks and to get you com- fortable programming with NCurses, even if you’ve never written a UNIX program before. NCurses Is a UNIX Thing You must have a UNIX-like operating system to work the samples and exam- ples in this book. 1 04_107591 ch01.qxp:Layout 1 3/14/16 3:38 PM Page 2 2 Chapter 1 I The Setup Beyond this, note that you must also have the programming libraries installed for your operating system. Without those libraries, programming in NCurses just isn’t gonna happe/stann. Red/fersystoinyourstaloperatingl system’s installation or setup program, such as in FreeBSD, to install the C programming libraries for your operating system. If special extensions are required to get the NCurses library installed, use them! NOTE It’s possible to program NCurses in Windows when using the Cygwin environment. I’ve not toyed with Cygwin, so I’m unable to comment on it here.
    [Show full text]
  • Multiarch Crossbuilding How to Use It, and What Still Needs Work
    Multiarch crossbuilding How to use it, and what still needs work Wookey The Cross-building victim Debconf 12, Manuagua, Nicaragua 1 / Wookey (Linaro) Multiarch crossbuilding How to use it, and what still needs work 40 MultiarchCross Historical Context Autobuilder Toolchains and $stuff Multiarch for cross-deps Examples of things that break Current Status & Outstanding issues Bootstrapping Debconf 12, Manuagua, Nicaragua 2 / Wookey (Linaro) Multiarch crossbuilding How to use it, and what still needs work 40 Outline 1 Multiarch Crossbuilding 2 Cross-Dependencies 3 Crossbuilding Issues 4 Bootstrapping Debconf 12, Manuagua, Nicaragua 3 / Wookey (Linaro) Multiarch crossbuilding How to use it, and what still needs work 40 Nomenclature Build : Machine/architecture you are building on Host : Machine/architecture package is being built for Target : Machine/architecture a compiler generates code for Debconf 12, Manuagua, Nicaragua 4 / Wookey (Linaro) Multiarch crossbuilding How to use it, and what still needs work 40 Potted History 1997 - dpkg-cross (Roman hodek, Dave Schleef, Nikita Youschenko, Neil Williams) 2003 - emdebian cross-toolchains (Wookey, Hector Oron) 2004 - apt-cross 2007 - xapt, pdebuild-cross 2009 - chromiumos-build -! xdeb 2010 - linaro cross-toolchains 2011 - cross-build daemon 2012 - sbuild cross-support 2012 - multiarch-built cross-toolchains (Thibault Girka) Debconf 12, Manuagua, Nicaragua 5 / Wookey (Linaro) Multiarch crossbuilding How to use it, and what still needs work 40 Cross Build Daemon xbuilder package in Linaro PPA
    [Show full text]
  • Installing Embedded Linux on Zedboard Clément Foucher
    Installing Embedded Linux on ZedBoard Clément Foucher To cite this version: Clément Foucher. Installing Embedded Linux on ZedBoard. 2015. hal-01232886v2 HAL Id: hal-01232886 https://hal.archives-ouvertes.fr/hal-01232886v2 Preprint submitted on 21 Mar 2017 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Installing Embedded Linux on ZedBoard Clément Foucher (homepage) [email protected] LAASCNRS Laboratoire d'analyse et d'architecture des systèmes Version 1.1 This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/. February 23, 2017 Contents 1 Before starting 5 1.1 Document purpose....................................5 1.2 Disclaimer.........................................6 1.3 Tools revisions and OS..................................6 1.4 Administrator privileges.................................6 1.5 Conventions and directories...............................6 1.6 Projects..........................................7 1.7 Scripts and logs......................................7 1.8 Environment packages and libraries...........................7 1.8.1 Fedora 22 Workstation..............................7 1.8.2 Ubuntu 16.04 LTS................................8 2 Additional technical information9 2.1 Downloading required sources..............................9 2.2 ZedBoard boot process..................................9 2.3 Reinitializing the SD card to factory state......................
    [Show full text]
  • Delivering Commands Most Admins Tend to Use the Shell, Perl, Or Python If They Need a System Administration Script
    SYSADMIN PHP for Sysadmins Using PHP in administration scripts Delivering Commands Most admins tend to use the shell, Perl, or Python if they need a system administration script. But there is no need for web programmers to learn another language just to script a routine task. PHP gives admins the power to program command-line tools and even complete web inter- faces. BY CARSTEN MÖHRKE www.sxc .hu HP scripts written for the console PHP tools are typically all you need for parameter is the name of an array, are basically the same as scripts any kind of text manipulation, such as exec() fills the array line by line with Pwritten for the web: programmers modifying configuration files, log files, the output that would have appeared can use the whole range of PHP features. user management entries, and the like. If on screen. If you need to process the To allow simple, program name based ex- you need to access operating system exit code for exec(), you can use the ecution of scripts on the command-line, functions for tasks such as process man- third parameter to do so. you need to specify the PHP interpreter in agement, you will need to add a few • system() does not suppress output, in the first line of the script following #!. If Linux commands. contrast to exec(). It has a second you do not know the path to the inter- optional parameter for the exit code. preter, you can type which php to find Command Line • passthru() works like system(), but in out.
    [Show full text]
  • Developing PHP Applications for IBM Database Servers
    Front cover Developing PHP Applications for IBM Data Servers Develop and deploy Web solutions using PHP and IBM data servers See PHP with DB2, Informix IDS, and Cloudscape examples Port PHP applications from MySQL to DB2 Whei-Jen Chen Holger Kirstein Daniel Krook Kiran H Nair Piotr Pietrzak ibm.com/redbooks International Technical Support Organization Developing PHP Applications for IBM Data Servers May 2006 SG24-7218-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xi. First Edition (May 2006) This edition applies to DB2 UDB Version 8.2, Informix IDS Version 10, PHP Versions 4 and 5, Apache 1.3, and Apache 2. © Copyright International Business Machines Corporation 2006. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures . vii Tables . ix Notices . xi Trademarks . xii Preface . xiii The team that wrote this redbook. xiii Acknowledgement. xv Become a published author . xvi Comments welcome. xvi Chapter 1. Technology overview . 1 1.1 Web application environment . 2 1.1.1 Web application advantages . 2 1.1.2 Web application challenges . 3 1.1.3 The state of the Web application world . 4 1.1.4 Web application components . 4 1.2 IBM data servers . 5 1.2.1 DB2 data server . 5 1.2.2 Informix database server family . 8 1.2.3 Cloudscape . 10 1.3 HTTP Servers . 11 1.3.1 Apache HTTP Server . 12 1.3.2 IBM HTTP Server . 15 1.3.3 Which Web server do I choose? .
    [Show full text]
  • APT HOWTO (Obsolete Documentation)
    APT HOWTO (Obsolete Documentation) Gustavo Noronha Silva <[email protected]> 1.7.6 - 2002 年 1 月 ...要要要 こ.£書/、Debian .1#ケージ管理Fー&ィJ&ィ'あK APT ."き+$い&、 Fー ザ+深く理解し&BIうこ(R4¿し&い>す。そ.目¿/、新しい Debian Fーザ.生 aRS+したJ、シス&@管理+$い&理解R深Aたい(Áう®.±助け( *Kこ(' す。Debian Fーザが3ILKサ=ー(R改NすK目¿'、Debian 7M ジェク(.たA+ù 成されました。 QQQùùùñññJJJooo Copyright © 2001, 2002, 2003, 2004 Gustavo Noronha Silva This manual is free software; you may redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details. A copy of the GNU General Public License is available as /usr/share/common-licenses/GPL in the Debian GNU/Linux distribution or on the World Wide Web at the GNU General Public Licence. You can also obtain it by writing to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. i 目目目 hhh 1 //はじじじめAA+++ 1 2 ÇÇÇ%%%¿¿¿***設設設¡¡¡ 3 2.1 /etc/apt/sources.list ファイル .............................3 2.2 Mーカル'. APT .1いè ...............................4 2.3 sources.list 5ァ イ K+記述す 9き最Á*?Iーサ イ(.決¡: netselect, netselect-apt........................................5 2.4 sources.list ファイル+ CD-ROM R追加する .....................6 3 111##ッケケケーーージジジ...管管管理理理 9 3.1 利用可能*パッケージ.K覧Rf新する .......................9 3.2 パッケージ.インストーK ...............................9 3.3 パッケージ.ú! ....................................
    [Show full text]
  • Intel® FPGA Software Installation and Licensing
    Intel® FPGA Software Installation and Licensing Updated for Intel® Quartus® Prime Design Suite: 17.1 Subscribe MNL-1065 | 2018.04.16 Send Feedback Latest document on the web: PDF | HTML Contents Contents 1. Introduction to Intel® FPGA Software Licensing............................................................. 4 1.1. About Intel FPGA Software Installation and Licensing..................................................4 2. System Requirements and Prerequisites.........................................................................5 2.1. System Requirements............................................................................................ 5 2.1.1. Minimum Hardware Requirements................................................................5 2.1.2. Cable and Port Requirements...................................................................... 5 2.1.3. Software Requirements.............................................................................. 5 2.2. Download and Installation Prerequisites....................................................................6 3. Downloading and Installing Intel FPGA Software........................................................... 8 3.1. Introduction..........................................................................................................8 3.1.1. Software Available in the Download Center....................................................8 3.1.2. Windows Download Manager....................................................................... 9 3.2. Downloading and Installing
    [Show full text]
  • Intel® FPGA Software Installation and Licensing
    Intel® FPGA Software Installation and Licensing Updated for Intel® Quartus® Prime Design Suite: 21.2 Subscribe MNL-1065 | 2021.06.21 Send Feedback Latest document on the web: PDF | HTML Contents Contents 1. Introduction to Intel® FPGA Software Installation and Licensing................................... 4 1.1. Intel FPGA Download Center................................................................................... 4 1.2. Intel FPGA Self-Service Licensing Center...................................................................4 2. System Requirements and Prerequisites.........................................................................5 2.1. Minimum Hardware Requirements............................................................................5 2.2. Cable and Port Requirements.................................................................................. 5 2.3. Software Requirements.......................................................................................... 6 2.3.1. Installing Windows Subsystem for Linux* (WSL) on Windows.......................... 7 2.3.2. Intel High Level Synthesis Compiler Software Requirements............................ 7 2.3.3. ModelSim - Intel FPGA Edition Software Requirements....................................8 2.4. Interaction with Third-party Software....................................................................... 8 3. Downloading and Installing Intel FPGA Software........................................................... 9 3.1. Software Available in the Download Center................................................................9
    [Show full text]