you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 4 months ago* (last edited 4 months ago)
cd ~
nano .bash_aliases

At the end of the file

alias executeOrder="sudo apt update && sudo apt upgrade -y && sudo apt auto remove -y"

Ctrl+X
Y
Enter.

source .bash_aliases

There. Now it's executeOrder

Edit : .bash_alias(es?) should be in the home folder. Switch to it with cd ~

  • source
  • parent