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 :-)

 

Kommentar hinzufügen

CAPTCHA
Diese Frage dient dazu festzustellen, ob Sie ein Mensch sind und um automatisierte SPAM-Beiträge zu verhindern.
By submitting this form, you accept the Mollom privacy policy.

Get Firefox!
follow me on twittercounter

 

  • Thank you for maintaining calendar app of . Really appreciate it. vor 12 Stunden 10 Minuten
  • New post: Top 10 Songs - Oktober 2017 | October 2017 https://t.co/5jNm63rCVv Weekend and another list of heavy music. vor 6 Tage 1 Stunde
  • RT : Firefox 57 is A M A Z I N G ! ! ! So fast. Great work Get it now! https://t.co/UPdryu9fAW vor 1 Woche 6 Tage
  • Mal schauen was es kann. Firefox wird hier immer besser. Chrome wird ignoriert ;-) https://t.co/iGZQUOiXSX vor 2 Wochen 1 Stunde
  • Great to see this activity. Installed new iPhone yesterday and so many privacy switches to check. Go ahead! https://t.co/QSkYZfHqZ5 vor 2 Wochen 11 Stunden