Another useful command for listing the sizes of files in a directory.

The ncdu command for Linux is very good for listing the sizes of the files in a directory. Type yum install ncdu to install this command.

Then run ncdu in a directory to list all files. Press the ‘s’ key to sort the largest files first. This is an easy way to see what files are using the most space. ncdu may also be used over ssh. Type man ncdu to get more information.

ncdu Linux command output.
ncdu Linux command output.

No comments have been made. Use this form to start the conversation :)

Leave a Reply