First, the root file system detailed:
Fhs:linux
/boot: System-initiated related files, such as kernel, INITRD, and Grub (bootloader)
/dev: Device files
Block devices: Random access
Character device: Linear access, by character.
Device number: Main device number (major) and secondary device number (minor)
/etc: Configuration file
/home directory, home directory for each user, usually default to/home/username
/root:
/lib: library file
/lib/modules: Kernel module files
Dynamic library:. dll. So (Share object)
Static Library:. A
/media: mount point directory, mobile device
/mount: mount point directory, additional temporary file system
/OPT: Optional directory, installation directory for third-party programs
/proc: Pseudo file system, kernel mapping file
/sys: Pseudo file system, property mapping file related to hardware device
/tmp: Temp file/var/tmp
/var: a variable file
/bin: Executable file, user command
/sbin: Managing Commands
/usr:share read-only Store Global shared read-only files
/usr/bin
/usr/sbin
/usr/lib
/usr/local:
/usr/local/bin
/usr/local/sbin
/usr/local/lib
Second, use the operating system involved in the operation:
File Management
Touch: Modifies the timestamp of a file and creates an empty file when the file does not exist
-a:access
-m:modifiy
-T:
C:
Nano: Text editor, creating files
RM: Delete file Rm-rf can delete directory
-I: Friendly tips
-F: Do not prompt
-R: Recursive
Stat: Displays the status information for a file or file system usage: Stat FILENAME
Directory Management
Ls:
Cd:
Pwd:
mkdir Creating an empty directory
-p:mkdir-p/root/m/n/q
-V: More information
Mkdir-pv/mnt/test/x/m,y
Mkdir-pv/mnt/test/{x/m,y}-bash advanced features, command line expansion.
Tree: Viewing the directory tree
RmDir: (remove dirctory) only empty directories can be deleted
Execute (Run) program
Device Management
Software Management
Process Management
Network management
This article is from the "Linux Blind Advanced Road" blog, please be sure to keep this source http://blindbird.blog.51cto.com/12338383/1878570
[Bird Brother Linux Video tutorial finishing]02_03_linux root file system detailed