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?
alias more=“less -cX”
alias moer=more
alias meor=more
alias meor=more
alias mroe=more
alias More=more
alias grpe=grep
alias gerp=grep
alias gpre=grep
In a big fan of the ‘fuck’ package for this. Try it out. Sudo apt install thefuck.
edit: oops got the name wrong; been a while since I installed it. Fuck.
Funny. I never even thought of using thefuck in any remotely production-esque kind of way. Only for its intended use case: to save me a few keystrokes retyping some command I fucked up typing.