9 examples for du
# File size in human-readable format(-h) of everything in that folder du -sh * # List human readable size of all sub folders from current location du -h --max-depth=1 # Sorted filesystem usage du -s * | sort -nr
# List the largest directories in reversed order (useful alias) du -kx | egrep -v "\./.+/" | sort -n
# Disk usage of all files and folders in this directory, on this filesystem, human-readable: du -d1 -x -h # Now sorted: du -d1 -x -h | sort -h