Check disk usage of mounted filesystems
df -h
- The
dfcommand displays disk space usage for all mounted filesystems. - The
-hoption makes the output human-readable (e.g., in GB or MB).
Check disk usage of specific directory
du -h /path/to/directory
- The
ducommand estimates the disk usage of a directory and its contents.
Andrew Dorokhov