icps

notes

Clean

apt-get clean
apt-get clean
apt-get autoclean
apt-get autoremove
rm /var/cache/apt/archives/* 2>/dev/null
rm /var/cache/apt/archives/partial/* 2>/dev/null
rm -R /var/log/* 2>/dev/null
rm -R /tmp/* 2>/dev/null
rm /root/.local/share/Trash/files/* 2>/dev/null
#rm /root/.bash_history 2>/dev/null
#updatedb

apt-get remove $(dpkg -l|egrep '^ii linux-(im|he)'|awk '{print $2}'|grep -vuname -r)