1. /usr/share/doc
  2. /usr/share/man
  3. /usr/share/man/man1
  4. /usr/share/doc/*
  5. /usr/share/doc/*/.gitignore
  6. /var
  7. ~/.bash_profile
  8. ~/.bashrc
  9. ~/.xsession 10. ~/Library

First we’ll use the du -sm command to give the results in MB:

Now we can see that the results aren’t sorted, so we’ll sort them by the sort -nr command, which sorts by numerical value in reverse. Finally, we’ll run the results through head -10 to get the top 10 results:

This is the command we are going to run:

Here’s an example of the output:

Useful stuff.

via Get the Top 10 Files or Directories on Ubuntu Linux – How-To Geek.