LS------display the specified directory and file information CD-------Enter the directory of the specified name
PWD------Display the current directory name mkdir-------Create a directory with the specified name
CD/ETC CD. /bin--------------Change the current directory
mkdir mydir rmdir Mydir Creating and deleting directories
cd./test ls. /bin relative path is a directory path representation starting with "," or ","
Ls/cd/home absolute Path is a path representation that begins with "/"
File--------Display the type of the specified files touch-------------------create a file or update that creates a name Part time
RM--------------Delete Files directory df-h----------------show hard disk usage
Chkconfig--list-----------------View Management Services Chkconfig-add----------------add
Less----------------View the file man------------view the command document
Fdisk-l-------------View the number of drives and partitions mounted on the Mount mounted Fast device
chmod 777 file name/folder name owned so permissions chmod 755 file name/folder name owner has all permissions. Groups and others have read, execute permissions
chmod 770 file name/folder name owner and group have all permissions chmod 666 file name/folder name remove executable permissions for files
U------represents the principal G-------Representative Group O--------on behalf of other users CHOMD ugo-x-----The file name/folder name to the owner additional execution permissions
chmod a+x AA----------give everyone permission chmod a-x AA to everyone minus Execute permissions
Useradd--------Add user-D pointing home directory-G user group-s login shell
passwd------------Set/Modify password Usermod----------Modify the account's various genus group date-------display and settings Date, Time
Mkdir-p test1/test2/test3 Loop Create directory rmdir-p/test1/test2/test2------------Loop Delete Directory {Prerequisite directory is empty}
MKDIR-M 711 test4-----Permissions for the specified directory ifconfig eth0-------Super User/sbin/ifconfig et H0------General Users
Cat----------Display the file TAC-------------start with the last line displays the line number when the NL---is displayed
Linux Administration commands