df

From wikieduonline
Revision as of 15:03, 6 December 2023 by Welcome (talk | contribs) (→‎Related terms)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

df[1] (abbreviation for disk free) is a command used to display the amount of file system disk space usage. It is include in the coreutils package in Ubuntu.

df
Filesystem     1K-blocks    Used Available Use% Mounted on
df -h
  -h, --human-readable
df -kh -xoverlay
   -x --exclude . For example: overlay 
df -i or df --inodes
df -i
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
df -l
   -l local filesystems

Examples[edit]

df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            481M     0  481M   0% /dev
tmpfs            99M  608K   98M   1% /run
/dev/vda1        25G  2.1G   22G   9% /
tmpfs           493M     0  493M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           493M     0  493M   0% /sys/fs/cgroup
/dev/vda15      105M  3.6M  101M   4% /boot/efi
tmpfs            99M     0   99M   0% /run/user/0
df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            481M     0  481M   0% /dev
tmpfs            99M  556K   99M   1% /run
/dev/sda1       4.7G  1.3G  3.5G  26% /
tmpfs           493M     0  493M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           493M     0  493M   0% /sys/fs/cgroup
/dev/sda15      105M  3.6M  101M   4% /boot/efi
tmpfs            99M     0   99M   0% /run/user/1000

Related terms[edit]

See also[edit]

Advertising: