you are viewing a single comment's thread
view the rest of the comments
[–] 20 points 4 months ago (3 children)

Execute order

Sudo apt update && sudo apt upgrade -y && sudo apt auto remove -y

Needs a more concise order name.......

  • source
  • parent
  • hideshow 3 child 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