First understand the general Linux file system composition.
*/usr/bin,/bin: Holds commands that all users can execute
*/usr/sbin,/sbin: Store only commands that can be executed by root
*/home: User Default host Directory
*/proc: Virtual file system. Store current Process information
*/lib: Storage of shared libraries required for System program operation
*/tmp: Storing temporary files
*/ETC: System Configuration file
*/var: Contains frequently changing files, such as mail, log files, manual pages, etc.
*/USR: Store All commands, libraries, manual pages, etc.
*/boot: Save location for kernel file and bootstrap program file
*/MNT: Installation point for temporary file system
The above is just a list of some of the more commonly used system directories, Linux installation default directory, not only these. Only by understanding the composition of the Linux file system, you know that in Linux, those directories of the file is more important, you need to do a lot of backup work.
Below, learn about some common commands for file system management.
* View partition usage: DF
* View file, directory size: du
* View file detail time parameters: Stat
* Checksum file MD5 value: md5sum
* Detect and Repair file system: fsck, E2fsck
Linux File Management System