Common Linux command definitions (next day)

Source: Internet
Author: User

View the disk and directory capacity.

DF and Du

DF is the meaning of English disk free. Disk is free.

Df-h-H refers to a human (human) angle, which is displayed in GB,MB format. This is more commonly used, and there are other options. You can use man DF to view it when you need it, and you don't have to memorize it.

Du is the meaning of the use of the English disk usage usage.

Du-sh view the file capacity of the current folder. The English meaning of S is the meaning of summarize (outline). H is still the meaning of human.

Du and DF are not the same, du this command actually back directly to the file system, to find all the file data, so du's command back to run for some time.

ln [-SF] source file destination file

ln If you create a hard connection directly without any parameters, if you add-S is symbolic link (soft link), of course, it doesn't matter if soft link can remember this command.

Symblic is symbolic of the meaning of the symbol.

The following differences between a hard connection and a soft connection are:

Hard-Link Innode numbers are the same. But the innode number of the Soft Connect (symoblic) is different, this is the most fundamental difference, the other is the expression form only.

Hard connections cannot cross file systems and do not make hard connections to directories. This soft connection can be done.

Common Linux command definitions (next day)

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.