Finding the biggest directories on Linux

\du -hd1 ~ | sort -h | head -n 8

Alternative is ncdu a graphical biggest file program.

This technique for finding the biggest directories works on Cygwin and Windows Subsystem for Linux as well, as does ncdu.

Categories:

Updated:

Leave a Comment