command line aliases to make repeated processes quicker. I’ve used them in the past and on specific programs but never on command line utilities.
like for instance with Debian, I’m repeatedly typing sudo apt-get install, so I aliased it: alias sagi=“sudo apt-get install” and it works pretty good.
Are there any best practices or aliases to avoid when using them? Other than known commands obviously. Are there popular alias lists out there?
I’ve got a ton, most are already listed or along the same vein.
The two suggestions I have are not actual aliases but worth remembering:
rm
with another app that deletes files, then you forget that, and then try to delete some files usingrm
-i to get a prompt for each removed file. Often the alias will just operate as normal w/o a prompt saying that it ignored-i
completely)