6211-I1 ADSL2+ Router Command Line Interface User’s Guide
23
df
Name
df Print the file system used space and available space.
Synopsis
df [OPTION]... [FILESYSTEM]...
Description
The df command displays the amount of disk space available on the file system of each file system name
argument. If no file system name is given, the space available on all currently mounted file systems is shown.
Disk space is shown in 1 kilobyte blocks (default).
Commands
None.
Options
-h
Print sizes in human readable format (for example, 1K, 243M, 2G)
-m
Print sizes in megabytes
-k
Print sizes in kilobytes (default)
Examples
Display the available space on all the mounted file systems.
Df
Display the available space on the flash root file system.
df /dev/mtdblock0