Quantcast
Channel: Eva & Quirinius
Viewing all articles
Browse latest Browse all 69

Enrich your Ubuntu by creating short-hands for "sudo apt-get ..." commands:

$
0
0

Handy short-cuts for Ubuntu and Debian:

echo "alias sagusagu='sudo apt-get update && sudo apt-get upgrade'"  >> .bash_aliases

echo "alias sadu='sudo apt-get dist-upgrade'"  >> .bash_aliases
echo "alias sagi='sudo apt-get install $1'"  >> .bash_aliases


You now have three new commands (after starting a new shell):

  • sagusagu: updates and upgrades your system
  • sadu: does a dist-upgrade (needed if you see "kept back" messages)
  • sagi ... : installs a software package


I can now run my daily update by typing "sagusagu".

Viewing all articles
Browse latest Browse all 69

Trending Articles