All commands
df
Topic: Disks and space
Program: df
Shows how full the file systems are.
Package: core-inodes
Usage
df [OPTION]... [FILE]...
Description
Show size, used and free space of each mounted file system, or of the one each FILE is on.
Sizes are KiB unless -h is given.
Options in the simulator
-
-h, --human-readable sizes like 512M, 20G -
-T, --print-type add a column with the type of each file system -
-i, --inodes count inodes instead of blocks -
--help show this help and exit
14 more options of the real program, not in the simulator yet
-
-a, --all not in the simulator yet On a real system df also shows empty and duplicate file systems.
-
-B, --block-size needs a value not in the simulator yet On a real system it sets the unit of the sizes freely.
-
-H, --si not in the simulator yet On a real system df works like -h, but with 1000 instead of 1024.
-
-k not in the simulator yet On a real system df then counts in KiB, as it does without options.
-
-l, --local not in the simulator yet On a real system df leaves out network file systems.
-
--no-sync not in the simulator yet On a real system it decides whether df first writes pending data to disk.
-
--output value optional not in the simulator yet On a real system it lets you pick the columns yourself.
-
-P, --portability not in the simulator yet On a real system df prints the columns in the fixed POSIX format.
-
--sync not in the simulator yet On a real system it decides whether df first writes pending data to disk.
-
--total not in the simulator yet On a real system df adds a line with the sum.
-
-t, --type needs a value not in the simulator yet On a real system df shows only file systems of one type, or leaves a type out.
-
-x, --exclude-type needs a value not in the simulator yet On a real system df shows only file systems of one type, or leaves a type out.
-
-v not in the simulator yet On a real system -v does nothing.
-
--version not in the simulator yet On a real system it prints the version of the program.
Where you learn it
Lessons
All commands