Cleaning 2007-2017.

It works for years on debian alike linux.

#!/usr/bin/env bash
Clean scrypt by Sylvester
echo “apt-get clean, autoclean, autoremove”
df
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
df
dpkg -l linux-* | awk ‘/^ii/{ print $2}’ | grep -v -e `uname -r | cut -f1,2 -d”-“` | grep -e [0-9] | xargs sudo apt-get -y purge
exit 0