Skip to content

Instantly share code, notes, and snippets.

@ishu3101
Created Jun 27, 2014
Embed
What would you like to do?
Easily maintain and clean up your Ubuntu packages using apt-get.
#!/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