Simple operation of the Linux file system

Source: Internet
Author: User
1, DF, du introduction
DF: How much space is left to see the disk?
For example:
Du: is to see how large a single file is
For example:

2, soft and hard link introduction
The prerequisite is to understand the existence of the file form: Each file is a file name, block blocks and inode numbers, the file is in block blocks, and the system to generate an Inode number for the file is deleted from the file is the number, the file itself is still there, Data recovery software can be used to recover, if the data is not restored before the creation of a file this new file will be temporary, block block old files completely disappear can not be restored

    硬链接和软连接的区别是:            硬链接是 两个相同的iNode编号 公用一个block块            软连接是 两个不同的iNode 编号 公用一个block块

For example, hard link creation method:

For example, soft link creation method:

Simple operation of the Linux file system

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.