Functions of the df command in linux disk commands

Source: Internet
Author: User

Function of the df command in the linux disk command. The df command displays the usage of all file systems on I nodes and disk blocks. Meaning of each option of this command:-a displays the disk usage of all file systems, including 0 blocks) of the file system, such as/proc file system. -K is displayed in k bytes. -I: displays the I node information instead of the disk block. -T: displays the disk space usage of each specified type of file system. -X lists the disk space usage of a file system of a specified type, which is different from that of the t option ). -T displays the file system type.

Run the linux disk command Df to view the remaining space of the Linux disk.

The Df command is used to view the file system by disk partition. You can add parameters to view the remaining disk space. The command format is as follows:

Df-hl

Display format:

File System capacity used available % mount point

/Dev/hda5487M120M342M27 %/

/Dev/hda1981M21M911M3 %/boot

None125M0125M0 %/dev/shm

/Dev/hda229G4.9G23G18 %/home

/Dev/hda320G4.8G14G27 %/usr

/Dev/hda724G510M22G3 %/var

/Dev/hdb275g751_100 %/

/Dev/hdb275g751_100 %/, as shown in the following example:

HD hard disk interface second hard disk B), second partition 2), capacity is 75G, 75G used, available is 0, so the utilization is 100%, mounted to the root partition directory /)

The above section describes the use of the linux disk command Df. We will introduce the use of the linux disk command dd command later.

  1. Linux compressed package Method 6: cpio command
  2. Linux compression and packaging method serial 5: dd command
  3. Linux compression and packaging method 4: compress command
  4. Linux compression and packaging method 3: bzip2, bzcat command
  5. Linux compression and packaging method 2: gzip and zcat commands

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.