Cheat Cube the Universal Operating System
Total Page:16
File Type:pdf, Size:1020Kb
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.