Find disk space usage on my Linode
Linode
Linode Staff
I would like to find the directories on my Linode using the most disk space so that I can get a better idea of where to clean out files.
2 Replies
A a good command to find the top size directories in the current working directory would be
du -Sh | sort -rh | head -5
Once you've found the largest folders, you could use
cd /path/to/directory
ls -la
to get a list of the files in the directory along with the file sizes.