this post was submitted on 04 Jan 2025
119 points (98.4% liked)
Linux
48878 readers
971 users here now
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.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No. That's just wrong. You only need to type ONCE and you don't have to remember it all, that's why
reverse-i-search
(aka Ctrl-r) is so powerful. It allows you to search within your command history so you only need to remember few letters of the command (which you can annotate, e.g.commandname parameter #it does this
) and can even edit after, e.g. changing parameters.But, more fundamentally, that is NOT the point of the command line!
The whole point of the command line is... to be able to repeat things, namely to script actions that can be customizes and combined to YOUR unique needs. So it's absolutely not about typing speed or memory. In fact, once I do have a good command, what do I do? I save it as a script precisely so that I do NOT have to type it again. Think of commands as Lego bricks that can be combined to together, build on top of. That is basically impractical with GUIs. Sure there are some tools to automate the click on GUIs but it's unreliable, nor can it be easily shared.
PS: I'm not saying anyone should use the command line over GUIs. I'm not being prescriptive. I'm only trying to clarify what the point of the CLI is.
TL;DR: command line is about combining tools to your unique needs, repetitively and reliably.
True of course. If you look at my comment though, I haven't said that speed is the point of the command line. Just that Linux users are obsessed with it. For most users most of the time, the repetition/automation is not the point and ability to write scripts is not the most important thing. And you can combine tools with GUIs as well, it's just slower. Same with reliability, GUIs don't have to be and usually aren't unreliable, so command line only has the automation and speed going for it.
I believe that is exactly the problem in this thread. The command history only works if you remember in the first place.
Well if that's the case then it'd be like somebody buying a bike, removing the wheels, and complaining that truly it's not as fast as a car or as convenient as walking. Sure, it's true but... if one is missing the point of a tool then they can't really complain about how "bad" it is.
Honestly I do not know how the CLI is most popularly used. I do have usage data for that (and I'm not sure who might, maybe Ubuntu?) but again, if people are using it to "type fast" then they are wrong.
Regarding memorizing and the problem of this thread, yes it IS a problem but that's precisely why I also commented https://lemmy.ml/post/24395107/15908795 before, namely that someone learning the CLI (namely ... ALL of us, even people like me who have been using it for decade, at home and professionally) should actually admit they are learning and thus rely on tools as they otherwise normally would.