One linux command per day: du

Source: Internet
Author: User
The dudu command of a linux command per day is used to summarize the disk usage of each & lt; file & gt; and the total usage of the Directory. By default, the current directory can be associated with a specific file or directory. Www.2cto. comdu displays the disk usage of each directory in the current directory. Du-a lists all files in the current directory...
The function of the du command for one linux command per day is to summarize each <FILE> Disk usage, the total usage of the directory is used. By default, the current directory can be associated with a specific file or directory. Www.2cto.com du displays the disk usage of each directory in the current directory. Du-a lists the disk usage of all files in the current directory, not just the directory. Du-B 2048 is measured in 2048 bytes. Du-B is displayed in bytes. Du-c shows the total usage at the end. Du-D displays the size of the symbolic link source file. Du-h is displayed in the form of K, M, and G. Du-H is similar to-h, but in units of 1000 instead of 1024. The unit of www.2cto.com du-k is 1 k. The size of the du-l hard link is also included. Du-L identifies the real destination indicated by any symbolic link. Du-S does not include the usage of sub-directories. Du-s only displays the total usage. Du-x is based on the file system at the beginning of processing. if it encounters another different file system directory, it will be skipped. (This is not tested) du-X file1 ignores the file1 file and displays other usage. -AX is available because only directories are displayed by default. Author: CrazyNemo
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.