Show top 30 files by size
du -ah / | sort -n -r | head -n 30
Instead of / you can specify path to any folder and 30 is a limit for files to show in the output.
Written by Misha Behersky
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#