Siege Lion on the Way (iii) Linux (18)---Simple operation of the file system

Source: Internet
Author: User

This article only serves as a trap.

One, view the disk and directory capacity: DF du

DF: Lists the overall disk usage for the file system.

Du: Evaluating the disk usage of the file system (commonly used to estimate the capacity of the catalog)

Ii. Connection File: ln
1. Hard Link: Rigid connection or actual connection

Ln/etc/crontab CRONTAB1; <== Creating a hard connection

A hard connection does not create a file (although you can see a new file when using the LS command, but the inode is the same), just add a file name-inode to the directory block.

Limit:

A, cannot cross file system.

B, cannot connect to directory (because of high complexity)

      

2, Symbolic Link: symbolic connection, that is, shortcut

Ln-s/etc/crontab crontab2; <== Creating a soft connection

is actually creating a separate file that will read the data to the file name of the file it is connected to.

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.