for f in "$(grep 'apt-get install' /var/log/apt/history.log)"; do sudo apt-get remove ${f//Commandline: apt-get install /}; done && sudo apt-get autoremove
this command will remove all installed application which is install with apt-get install
for f in "$(grep 'apt-get install' /var/log/apt/history.log)"; do sudo apt-get remove ${f//Commandline: apt-get install /}; done && sudo apt-get autoremove
Post a Comment