Summary of Common Linux commands
Ctrl + shit + "+" to enlarge terminal font, opposite + "-", shrink font
Poweroff or init 0 shutdown
Reboot restart
Init 3 and StartX non-graphical and graphical interface switching
LS (list) View list
CD (change directory) changing directories into a directory
CP (COPY) replication
Cd.. Exit to the top level directory
. Represents the current directory
.. Represents the previous level of the directory
/root/desktop Desktop Path
RM (remove) Remove delete
RM xxx-fr Force to remove any files or folders
MV (move) Cut or rename
mkdir (make directory) new folder
Touch Create File
PWD Displays the current path
Cat viewing the contents of a document
More view the contents of a document
Ifconfig Viewing network information
Service NetworkManager stop stops the network management of the graphical interface
Chkconfig NetworkManager off turn on Not start graphical interface
Ifdown eth0 Disable NIC
Ifup Eht0 Open NIC
Df-h viewing disk partitions and usage
Man view instructions for specific usage
--help Enter--help after the instruction to view the instruction help
~ Home directory (CD ~)
-Go back to the directory where you Last
Tar czvf Compressed files (tar czvf zz.tar.gz)
Tar xzvf Extract Files
Who or W command:
Features: See which users are logged on in the current system
Format: who/w [parameter]
Such as:
[[email protected] root] #who
Root tty1→1 a local user login
PP pts/0→1 remote login user
Summary of Common Linux commands