Thursday, 14 July 2016

"Everything" APT-GET in one command

If you are tired of all the apt-get commands all the time do the following.

sudo nano apg-fresh.sh

sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove && sudo apt-get autoclean

ctrl + o
ctrl + x

sudo chmod +x apg-fresh.sh

./apg-fresh.sh



This script will update, upgrade, autoremove and autoclean without any interaction. I.E keeping everything safe and clean.

No comments:

Post a Comment