• Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    18 hours 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 ~