Top
image credit: Unsplash

How to create a simple Linux alias to run all of your upgrade commands with a single word

July 19, 2023

Via: ZDnet

Every day, one of the first things I do on my computer is run an update/upgrade. That process normally consists of three commands, which are:

  • sudo apt-get update
  • sudo apt-get upgrade -y
  • sudo snap refresh

That’s not too much to type. The only problem is that I have to wait for the previous command to stop before I can type the next. Or, I can combine them into one long command like this:

Read More on ZDnet