Several concepts of Linux, Common command learning
---------------------------------
Device Name
Mount point
Accessing the device through the mount point
---------------------------------
Root directory: CD/
Home directory: cd ~
Different users have different home directories, but have the same root directory
----------------------------------
Point file: A file or directory that starts with a point and can be used as a hidden directory
LS does not display
LS-A Display
--------------------------------
Standard Sub-Directory
/bin: Command Directory
/boot: Most files required for system startup
/dev: Device files and other special files
/etc: Configuration files required to start and run the system, and other software profiles
/home: User Directory
/lib: Contains the library files required by the program in/bin and/sbin
/MNT: Used to temporarily mount the file system. such as device mount points
/OPT: storage location for third-party applications
/proc: For exchanging data with the Linux kernel, including system information
/root: Super User's home directory
/sbin: Critical System Management Command storage directory
/tmp: Storing temporary files
/usr: Stores files and programs used by each user
/usr/local: Similar to/OPT
/USR/SRC: include Linux source code
/var: the place where variable data is stored. Log files, mail boxes, cache data, and so on.
----------------------------------
redirect
Save the output to a file
ls > out_list.txt//New
LS >> out_list.txt//Add Way
Input from File
<
Pipe redirection: The output of one program as the input of another
|
LS |LP//Send the contents of LS output to the printer
---------------------------------
Command a basket of
File commands
Ls
LN: Create shortcut, alias
Cp
Mv
Rm
Cat: Display file contents, can be multiple, through > can merge multiple files
MORE: Display one screen
Less: With more, press Q to end
Head: Look at the beginning of the file
Tail: Look at the end of the file
LPR: Sending file contents to the printer
grep: Searching
diff: Compare the contents of two files
Directory commands
PWD: Displays the full name of the current directory
Mkdir
RmDir: Delete an empty directory
Multi-user command
Users
W.H.O.
Finger:????
Security commands
passwd
chmod: Changing the Permissions property of a file or directory
Chown: Modifying the genus Group property of a file or directory
Network commands
Ftp
Rlogin: Log on to the remote system
RSH: Executing commands on a remote host
Telnet
-------------------------------------
Tools
Make
Mans
Info
Lilo: Responsible for loading Linux
Several concepts of Linux, Common command learning