Created
December 21, 2015 08:55
-
-
Save h4cc/e0c42b5a7a1debbb3f0b to your computer and use it in GitHub Desktop.
apt-get Shortcuts for bash/dash/zsh
This file contains hidden or 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
#--- apt-get | |
# Shortcuts for apt-get | |
alias apt-ud="sudo apt-fast update" | |
alias apt-ug="sudo apt-fast upgrade" | |
alias apt-in="sudo apt-fast install" | |
# Some auto apt-get magic. | |
alias apt-auto="sudo apt-get autoclean ; sudo apt-get autoremove" | |
# Doing everything at once. | |
alias apt-all="apt-ud && apt-ug && apt-auto" | |
# Fixing broken installations. | |
alias apt-fix="sudo apt-get clean ; sudo apt-get update ; sudo apt-get -f install" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment