Created
June 27, 2014 08:34
-
-
Save ishu3101/8fce67027299d9804cf8 to your computer and use it in GitHub Desktop.
Easily maintain and clean up your Ubuntu packages using apt-get.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Usage: update or update -y to skip all prompts. | |
sudo apt-get update | |
sudo apt-get $1 upgrade --show-upgraded | |
sudo apt-get $1 dist-upgrade | |
sudo apt-get $1 autoremove | |
sudo apt-get autoclean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment