Finding the largest files and directories on Ubuntu



I keep forgetting how best to find the files and directories using up all the available disk space…

Writing it down here to reference in the future:

sudo du -ahx / | sort -rh | head -20