Linux program to see what directories are taking up all the space?

Soldato
Joined
1 Nov 2007
Posts
5,727
Location
England
I've used programs like this before on Windows 10 and wondered what programs are recommended to do this on Linux? I'm using OpenSUSE Tumbleweed and KDE on the btrfs file system, if that matters. I want to figure out why my install is 38GB in size, which seems somewhat excessive.

Thanks for any help.
 
Soldato
Joined
18 Oct 2002
Posts
18,296
Location
Brighton
du -sh /* will be a lot quicker than faffing about with any program

ncdu will take the same amount of time as du to do the initial scan.

If anything ncdu is quicker as the provided UI allows you to traverse the file system and drill down through directories without having to scan again.
 
Back
Top Bottom