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