The df command is used to display the available disk space on the disk partition. The default display unit is KB.
Syntax format
df [options]... [FILE]...
parameters
-a or --all: Contains all file systems --block-size=<block size>: Displays the number of blocks in the specified block size -h or --human-readable: displays information in a more readable manner -H or --si: Same as the -h parameter, but in calculations is 1000 Bytes instead of 1024 Bytes-i or --inodes: Display inode information -k or --kilobytes: Specify block size 1024 bytes -l or --local: only the local file system -m or --megabytes: the specified block size is 1048576 bytes --no-sync: Do not execute the sync command before getting the disk usage information. This is the default value; -P or --portability: Use POSIX output format --sync: Execute the sync command -t<file system type> or --type=<file system before getting disk usage information Type >: Display only disk information of the specified file system type -T or --print-type: Display file system type -x<file system type> or --exclude-type=<file system type>: Do not display the designation System type of disk information --help: Display help --version: show the version information
Example
Check your system disk status, displayed in the unit above the KB. The command and result are as follows:
# df -hFilesystem Size Used Avail Capacity iused ifree %iused Mounted on/dev/disk1 112Gi 69Gi 43Gi 62% 18094497 11228765 62% /devfs 187Ki 187Ki 0Bi 100% 646 0 100% /devmap -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /netmap auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home
ACL is an abbreviation of Access Control List. The main purpose is to provide detailed permission t
tcpdump is a commonly used capture tool under the Linux command line, record the usual way, the test
Introduction to Soft InterruptsInsert processing that can be deferred from the hard interrupt handl
According to foreign media reports, many users, like the author, have been intere
Detailed instructions for using the Route command in the Linux operating system
Using the history command in Linux to improve efficiency
Convert DOS batch files to shell scripts
A detailed introduction to Debian
Linux wc command parameters and usage details
Nginx self-starting file running error
Cygwin supports Chinese configuration
Problem with installing vmware tool on Fedora Core6
Installation of Chinese fonts under the Linux operating system
Linux/VPS CentOS yum download slow? Install the Axel plugin to speed up the look
Win10 Mobile 10240 leaked version or can not be upgraded to the official push preview version
Win10 system E disk and F disk can not open how to do
How to add multiple ips in batches under Windows
Win10 system Edge browser download file garbled how to solve
8 reasons to upgrade Windows 7 SP1
Win10 OneNote how to edit notes in full screen
How Win8 uses the search function in the app store
How to view the IP address of the target website under Win7 system