Bird's Home cuisine 6th Chapter Linux file permissions and directory configuration after class exercises

Source: Internet
Author: User
  • Please indicate how/bin differs from the execution file placed by the/usr/bin directory.

/bin and/usr/bin are all executed files, but/bin placed in the single-user maintenance mode can execute commands, such as CAT,CP, related to the boot process, Usr/bin placed is the general user can execute the command, independent of the boot process.

  • Please indicate how/bin differs from the execution file placed in the/sbin directory.

/sbin is placed on the boot process related commands, such as boot, repair, restore system.

  • Which directories cannot be placed with the root directory (/) in a different partition? And please indicate what data is placed in the directory.

/etc: Configuration file

/bin: Important Execution files

/dev: Required device files

/lib: Function libraries required to execute files and modules required by the kernel

/sbin: Important System Execution files

/is the root directory, the boot process and the root directory, only the root directory will be mounted when the boot, and other partitions are mounted after the boot behavior, all the boot process related files must be placed in the same partition as the root directory

  • Try to explain why the root directory is smaller and better. In addition, when partitioning, why is home/usr,/var,/tmp best be placed in a different partition than the root directory? Try to explain the possible causes (as discussed by the contents of the directory placement)

Bird's Home cuisine 6th Chapter Linux file permissions and directory configuration after class exercises

Related Article

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.