139
SHARE WITH THE CLASS: What aliases are you using?
(kbin.social)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I rawdog every single command, I use no aliases at all.
I couldn't even work if I had aliases in my muscle memory. Imagine ssh'ing to a server and every second command you issue doesn't exist because it's some weird alias you set up for yourself.
I'll stick with the "pure" command and use tab completion.
That's also part of the reason why I don't use some of the fancy new tools like ripgrep and exa.
Yeah, I remember when Linux was first becoming cool, in the mid-to-late 90s. There was a lot of folk wisdom going around, and one of them was "make an
alias rm='rm -i'
so you don't accidentally delete anything!"And then there was the (correct, IMHO) counter-wisdom of "no, that actually makes it more likely to accidentally delete something, because one day you're going to be on a machine where that alias doesn't exist, but you've become dependent on it existing".
I don't mind creating aliases to add colour or change formatting a little bit or something, but don't make an alias to keep yourself safe, because it'll probably backfire on you.
You couldn't even work if you made a few longer commonly used commands convenient aliases? Well alright.
I can't imagine how you feel about bash scripts lol.
Not the person you responded to, but sure. Breaking muscle memory is extremely grating.
Also, it's pretty easy to type long commands with little typing. If you use ctrl+r to search backward in your history, you can easily recall long commands - and also, you can use ctrl+x,ctrl+e to edit the current command line in $EDITOR so you can edit long commands. These two tricks make it very easy to type long commands quickly with very little typing.
Big if true
Metal