What command used to show, how much disk space is being used up by folders?
-
df
-
du
-
susage
-
space
The 'du' command (Disk Usage) shows how much disk space is being used by specific directories and files. In contrast, 'df' (Disk Free) shows available space on filesystems, while 'susage' and 'space' are not standard Unix commands for this purpose.
du (disk usage) reports the disk space consumed by files and directories, and with options like -sh it summarizes usage per folder in human-readable form — exactly what's being asked. df (disk free) reports space usage/availability at the filesystem/mount-point level, not per-folder, so it answers a different question. 'susage' and 'space' are not real commands. du is the correct answer for measuring how much space specific folders are using.