Skip to content

Instantly share code, notes, and snippets.

@funrep
Created September 26, 2013 08:51
Show Gist options
  • Save funrep/6711575 to your computer and use it in GitHub Desktop.
Save funrep/6711575 to your computer and use it in GitHub Desktop.
Ubuntu apt-get remove script
#!/bin/sh
# apt-get remove sucks, apt-get purge is good, but then running autoremove afterwards is annoying ;)
for args in $*;
do sudo apt-get purge $args && sudo apt-get --purge autoremove;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment