• Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    27 days ago
    nano .bash_alias 
    

    At the end of the file

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

    Ctrl+X
    Enter.

    Source .bash_alias
    

    There. Now it’s executeOrder

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