Tag: case-Sensitive execution file third-party software shared root directory
/mnt: Additional temporary file system
/opt: Optional directory, installation directory for third-party programs
/proc: Pseudo file system, kernel mapping file (System tuning Focus)
/sys: Pseudo file system, property mappings related to hardware devices. Hard disk
/ tmp: Temp file →/var/tmp
/bin: Binary, executable file, user command
/sbin: Managing Commands
/ usr: Shared read-only, which shares read-only files globally.
/usr/local
/usr/local/bin
/usr/local/sbin〉 these directories for third-party software
/usr/local/lib
Linux Naming conventions
Length cannot exceed 255 characters
Cannot use/when file name
Strictly case-sensitive
relative path : In relation to the current position
Absolute path : Find from root directory
Directory Management :
1.ls
2.cd
3.pwd
mkdir: Creating an empty Directory
Tree: Viewing the directory tree
-p:/m/n/z, create together
-v:verbose, detailed procedure
/mnt/test/x/m,y
Method 1,: mkdir-pv/mnt/test2/x/m,/mnt/test2/x/y
Simplified: mkdir-pv/mnt/test2/{x/m,y}
↓
Curly braces unfold
Delete directory : rmdir (remove directory)
↓
Delete Empty directory:-p, apply to delete single-line directory,/x/y/z
File creation and deletion
Touch
-a-t-m-c
#stat View related properties
To create a file, you can use the file editor. (Nano)
ASCII: US standard Information Interchange code
Delete file : RM
-I \rm, not prompt
-F, forcibly delete
-R, recursively deletes all files under the directory
This article is from the "12427174" blog, please be sure to keep this source http://12437174.blog.51cto.com/12427174/1886856
Rookie Advanced Linux Master Road--fifth day (next)