Linux RHCE files, directories and help (RPM)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.