UNAME-M display machine's processing architecture
Hostname display the name of the system
Who displays information about users of the current login system
Ifconfig Viewing network cards
VI Edit
/etc/susconfig/network-scripts/ifcfg-(eth0 nic name) boot physical NIC vim + filename creation file
Cat + file name view file
More + file name view file contents,
Wq Save and Exit W save Q Exit q! Force exit
mkdir Creating a Directory
Mkdir-p Creating a directory recursively
Touch + space Plus file name create multiple files in one directory
MV + filename + directory name move the file to the directory
CD + space + filename or directory name + directory name switch directory CD/switch directory to root directory CD ~ Switch directory to the current user's personal host directory CD. Switch directories to the current directory CD: Switch directories to the top level directory
CP copy CP copy file or folder to the specified directory (/) directory
Du view the total capacity (size) of a file or directory
LS view current or path directory and file-a display all files and directories including hidden files-r Displays the file in reverse order-D displays the specified directory information, without the (d) parameter displays the information under the specified directory-I displays the I node information in the specified directory-l will file name, File type permission size and other information detailed list-H lsattr Show hidden Archives
RM (-RF) filename Delete file
RmDir + directory Name Delete directory
Dare displays the current time and date
Echo (') back to county content
WC space-L plus file name to view the number of files or the number of content lines
Tail View file Countdown 10 column
TAC Reverse
PWD Display work path
Nead Show only the first 10 lines of the file
Nead Space plus parameter-(*) * represents required number of lines
grep + character + file name filter content
passwd Change Current user password + new password
Useradd Creating a user
Su + user name switch user
Userdel + user name Delete user
VI/ETC/PASSWD + user name lookup user
Groupadd + Group name creation Group
Groupdel + Group name Delete Group
Chwon modified file belongs to the main group plus the main plus group plus the file name
Vim + file name edit file
BC Calculator
Clear Clear Screen
Quit Quit Calculator
Iostat View disk status
Nginx Service installation package. Baidu Find Connection
wget (+ connection) download
Yum Install package
Tar xvf file name. tar.gz Unzip the tar. GZ formatted files
Unzip unzip the file at the end of the zip
DF View Disk Usage
Top View System Performance
Netstat display of various network-related information
Mount +/dev/sro/opt mount local files or disks
Umount +ope Delete Mount
Free to view memory usage
Chomod + (533) default permission attribute + file name. modify File Permissions
PS-AVX viewing the currently running process
Cal Displays the calendar's instructions
Kill plus process number end process
Logout Log off users
Retoot Restart User
Init 0 shutdown
Init 6 Restart
50 basic Commands