this post was submitted on 19 May 2024
160 points (90.8% liked)

Linux

48688 readers
729 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

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
[–] erwan@lemmy.ml 2 points 7 months ago* (last edited 7 months ago) (1 children)

Simple example: installing stuff. Much faster and simpler to type "install foo" in cli than open a gui, searching for it, finding the right one, clicking install.

Same for updating: it takes me 2s to type the command to update all packages, that's less than the time I need to move my mouse to the icon of the package manager.

[–] Zeoic@lemmy.world 5 points 7 months ago (1 children)

Sorry, but that doesn't really work. I can expand your terminal answer as much as you did the gui one. You have to open the terminal, use the man page for apt to find out how to search for a packages name, search for a package and hopefully find it, then you need to run another command with that package name to install it.

Meanwhile, I can shorten the gui example to "It take me two seconds to use the search bar and click install"

They all have their ups and downs, guis are just easier and more intuitive for people who don't live and breath terminal commands. Terminals can be extremely confusing for them, having never used one before.

[–] LeFantome@programming.dev 2 points 7 months ago* (last edited 7 months ago) (1 children)

There is a bit of bias in your assumptions as illustrated by the “use the man page” step.

It is not always true that GUI means easier or more intuitive. It almost never means faster which is why terminal people like the CLI so much.

One of the major benefits of the command line is that it is almost universal between distros. Package management is one of the few things that differs between distros so let’s use that as an example as even in this case there are only a handful of package systems across dozens of distros.

I know that apt install and apt search work across the entire Debian family including Debian, Ubuntu, Mint, and Pop ( all different GUIs ). If I was at a random Linux command line in any distro, it would take me moments to try apt, dnf, pacman, and zypper. Without even knowing what distro I was looking at, I could be managing packages in 10 seconds. I bet one of these would work on your machine. The commands that did not work would be harmless. In contrast, it would take me at least that long to find the “store” in a menu ( if I even knew how to bring up the menu ). There are almost as many software stores as distros. Some distros have more than one. Once in the store, I would have to discover how to do what I want. I have never used most of them. In half of them, finding out how to do a full upgrade may take a while and I am not sure how confident I would be that it was going to do what I wanted. I may really be lost if I got any errors.

I use an old MacBook every day and booting into Xfce I can type “yay -Syu” before the wallpaper even comes up and certainly before a store would launch. I can also ssh into a number of other machines and update their packages remotely with the same command. Getting a Remote Desktop would be far harder and what methods are available to do that vary from machine to machine. It would be far harder.

Anyway, this comment is way too long. My point is that, for many people, the command line is faster, easier, perhaps more intuitive, more consistent, and often requires less to remember than the GUI. Windows just added a “sudo” command. Why would they need to do that if they are the poster child “everything in the GUI” OS?

It is great to have GUI options and clearly some people will did that less intimidating. That said, once you start using the CLI, it is painful to go back.

[–] Zeoic@lemmy.world 1 points 7 months ago (1 children)

I think we will have to agree to disagree. Figuring out the software store guis is so incredibly easy. Install button installs, search box searches. They are all the same. Dont need to know what an update button is doing, because average people wouldn't even know what is happening while doing it via terminal anyways.

Searching is also 100x times easier in the guis. You dont have a million other packages match your search (ever try apt search chrome?)

Though you are right, I had some bias with the man page bit. Average users wouldn't even know what man is, making it even harder for them. They would have to open a web browser, describe what they want to do somehow, and hope a copy pasted command does what they want.

[–] erwan@lemmy.ml 1 points 7 months ago

I agree that GUI are better at discoverability.

However once you're up to speed with CLI, it becomes much simpler and faster. While a GUI will still be more steps even after you become expert at using that GUI.