Adding nice alias to do apt-get update and upgrade


By rakekniven - Posted on 06 September 2015

Many time I find myself typing

apt-get update
apt-get upgrade

To make that quicker I just edited my

~/.bashrc

and added following alias

alias doit="apt-get update;apt-get upgrade"

After next login I just had to type

doit

That's all.

Happy aliasing :-)

 

follow me on twitter

 

  • Nice, but a donut needs a whole in the middle 🍩☕️😉 6 days 23 hours ago
  • Was kann man tun? 1 week 19 hours ago
  • Das geht schon lange. Oder ging das in der Beta nicht? 1 week 2 days ago
  • Gedacht für 1 week 3 days ago
  • Motorradkette ohne Schmieren: BMW M Endurance | heise Autos. Gibt es sowas auch bald für e-bikes? &m &müller https://t.co/Mto8WMo34s 1 week 3 days ago