df

Updated: 07 February 2023

Report file system disk space usage.

Show free space on usb or external hard disk

tom@laptop:/media/tom$ df -kh *

du

Updated: 07 February 2023

Estimate file space usage.

Show size of sub-directories in current directory

du -h --max-depth=1 . | sort -n