This section is primarily about understanding the file structure of RHEL7 and is familiar with basic commands.
A simple understanding of the role of each directory
/bin executable command
Directory for the/dev device image
/home directory, similar to the Windows users directory
/LIB64 64-bit library file, similar to various DLL files under Windows
/mnt habitual mount point, non-mandatory
/proc information about the kernel, memory, CPU, etc.
/run The default media mount point after RHEL7
Address of various data files stored by the/SRV system
/tmp Temp Folder
/var log file
/boot boot file, you must have this directory, but you do not need to give the partition
configuration files for/etc programs
/lib 32 of library files
/media Traditional media mount points
/opt additional files for the software package
/sbin the root account to execute commands
/sys similar to/proc, including some hot-swappable device information
/usr for multiple machine sharing content, such as the entire system-wide configuration file, etc.
Take a look at the file and directory-related commands
Create a file touch, run directly to create a new file,-T to change the timestamp
Multiple files can be created at once
Delete File rm
mkdir Create a folder, RmDir can delete empty folders, if there is content, you need to use RM-RF to do nested delete
Alias, note pronunciation Elis
Similar to deleting a directory, copying a file requires nesting with-RF
Cut Catalog
Get help information, commonly used with Whatis,--help, man and pinfo four kinds of
Whatis gave the simplest explanation.
--help is more simple than man and pinfo, but it's practical, and the next two messages are sometimes too rich.
If you want to know a keyword-related command, you can use Man-k passwd, which is very similar to the Get-command "*command*" of PowerShell.
In addition, you can use Redhat's support when you have money and caprice.
Linux RHCE files, directories and help (RPM)