How to find the ten biggest files or directories in linux

This short blog post will show you a command that will let you find the ten biggest files or directories in linux and osx machines. I forget these commands every time I need to use them, so I have added a post to my blog to help me be able to find them quickly (I use this post about once a week!)

Find 10 largest files linux or osx

du -a / | sort -n -r | head -n 10

Leave a Reply