I was using df -h to print out human readable disk usage. I would like to figure out what is taking up so much space. For instance, is there a way to pipe this command so that it prints out files that are larger than 1GB in size? Other ideas?
Thanks
|
I was using df -h to print out human readable disk usage. I would like to figure out what is taking up so much space. For instance, is there a way to pipe this command so that it prints out files that are larger than 1GB in size? Other ideas? Thanks
| |||
|
feedback
|
|
I use this one a lot.
It can take a while to run, but it'll tell you where the disk space is being used. | |||
|
feedback
|
|
You can use the find command. Example:
| |||
feedback
|
|
You may want to try the It will quicky sum the contents of a filesystem or directory tree and print the results, sorted by size. It's a really nice way to drill-down interactively and see what's consuming drive space. Additionally, it can be faster than some The typical output looks like:
| ||||
|
feedback
|
|
I myself use du -c --max-depth=4 /dir | sort -n this returns amount of space used by a directory and its subdirectories up to 4 deep, | |||
|
feedback
|
filelightis a nice GUI app for Linux – Hubert Kario Aug 16 '11 at 9:32