DEV Community

Discussion on: Cleaning up Disk Space on a Linux Machine from the Command Line

Collapse
 
mvgrimes profile image
mvgrimes

A great tool for exploring disk usage from the terminal:

ncdu /
Enter fullscreen mode Exit fullscreen mode

Probably need to install it (apt-get install ncdu or whatever is appropriate for your system) and might want to run it with sudo. The -x flag is helpful to constrain it to one filesystem.