/boot: System boot related files, such as kernel, INITRD, and Grub (bootloader)
/dev: Device files
Block devices: Random access, data blocks
Character Devices: Linear access, by character
/etc: Configuration file
/home: The user's house directory, default is/home/username
/root: Administrator's home directory
/lib: library file
Static Library. A
Dynamic library. dll,. So (Shared object)
/lib/modules: Kernel module files
/media: mount point Directory
/MNT: Additional Temporary file system
/misc: Miscellaneous
/OPT: Optional catalogue;
/usr/local: Install third-party software
/proc: Pseudo file system, kernel mapping file (related to system tuning)
/sys: Another pseudo file system, a property mapping file associated with a hardware device
/tmp: Temporary file system, everyone can create, but can only delete their own
/var: a variable file
/bin: Executable file, user command
/sbin: Managing Commands
/usr: shared, read-only files globally
/usr/bin
/usr/sbin
/usr/lib
/usr/local: Non-critical system third-party software storage location
/usr/local/bin
/usr/local/sbin
/usr/local/lib
mkdir: Creating a Directory
Mkdir-p/root/m/z/o Create in turn
MKDIR-V Display creation Process
RmDir: Delete directory (can only be used to delete empty directories)
Rmdir-p can delete traced's directory
Creation and deletion of files:
Touch
Stat + files Show status information for files
Change file timestamp:
Touch-a Changing access times
Touch-m Change the modification time
Touch-t-M 201212121212 (2012 12-12 12:12)
Rm-i Delete file and prompt to delete
RM-RF: Recursively delete files in directories and directories
What is the use and directory management of each Linux directory?