If you like to use the CLI (and bash) you might want to create a file named ".bash_aliases" within your $HOME directory (for example with Kate - it is invisible due to the "." at the beginning) with a content like:
Code:
# apt alias upda='sudo apt update && apt list --upgradable' alias fuup='sudo apt full-upgrade' # flatpak alias flup='flatpak update' # snap alias snup='sudo snap refresh' # update everything alias upall='sudo apt update && sudo apt full-upgrade && flatpak update && sudo snap refresh'
Those are just examples - you can choose nearly any combination of characters you like between "alias " and "='command(s)_that_shall_be_executed'" (good to avoid commands that already exist as an alias name, though).
"The sky is the limit", but check that you don't have duplicate entries in the files ".bashrc" and ".bash_aliases" otherwise the result can be not what you intended.
PS: see alias --help for further explanation.


Leave a comment: