Linux Command – df

df – report file system disk space usage

SYNOPSIS
df [OPTION]… [FILE]…

DESCRIPTION
df displays the amount of disk space available on the file system containing each file name argument. If no file name is given, the space available on all currently mounted file systems is shown. Disk space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used. If an argument is the absolute file name of a disk device node containing a mounted file system, df shows the space available on that file system rather than on the file system containing the device node.

EXAMPLE
$ df -h

OPTIONS
-a, –all include pseudo, duplicate, inaccessible file systems
-B, –block-size=SIZE
-h, –human-readable print sizes in powers of 1024
-H, –si print sizes in powers of 1000
-i, –inodes list inode information instead of block usage
-k like –block-size=1K
-l, –local limit listing to local file systems
-t, –type=TYPE limit listing to file systems of type TYPE

Published by

Ferdy Mañago

Great Software Ideas, LLC