1. /etc/apt/sources.list
  2. /etc/apt/sources.list.d
  3. /etc/apt/sources.list.d/ubuntu-restricted
  4. /etc/apt/sources.list.d/ubuntu-core
  5. /etc/apt/sources.list.d/ubuntu-lts
  6. /etc/aptitude/*
  7. /usr/*/.bashrc
  8. ~/.profile 9a ~/.bash_profile 10a ~/.zshrc

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.