- /etc/apt/sources.list
- /etc/apt/sources.list.d
- /etc/apt/sources.list.d/ubuntu-restricted
- /etc/apt/sources.list.d/ubuntu-core
- /etc/apt/sources.list.d/ubuntu-lts
- /etc/aptitude/*
- /usr/*/.bashrc
- ~/.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.