Shell command _ File system common commands df, du

Source: Internet
Author: User

One, DF (File System view command) [[email protected] ~]# DF [option] [Mount point] option:- A displays all file system information, including special file systems such as/proc,/sysfs- H , using the customary unit display capacity, such as KB, MB or GB etc-T Displays the file system type-m display capacity in megabytes-K displays the capacity in kilobytes. The default is in kilobytes

Two, Du (statistics directory or file size) [[email protected] ~]# du [options] [directory or file name] option:-A displays the disk footprint of each sub-file. By default, only the disk footprint of the subdirectory is counted-H uses a customary unit to display disk consumption, such as KB, MB, or GB, as a total amount, without listing sub-directories and sub-file consumption
iii. The difference between DF and Du

From for notes (Wiz)

Shell command _ File system common commands df, du

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.