• TheOakTree@lemm.ee
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    4 days ago

    GUI is a generic swiss army knife. It’s easy to introduce to someone, and it has a whole array of tools ready for use. However, each of those tools is only half-decent at its job at best, and all of the tools are unwieldy. The manual is included, but it mostly tells you how to do things that are pretty obvious.

    CLI is a toolbox full of quality tools and gadgets. Most people who open the box for the first time don’t even know which tools they’re looking for. In addition, each tool has a set of instructions that must be followed to a T. Those who know how to use the tools can get things done super quickly, but those who don’t know will inevitably cause some problems. Oh, but the high-detail manuals for all the tools are in the side compartment of the toolbox too.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      87
      ·
      6 days ago

      The commands: ls cp mv…

      Meanwhile you get Windows people who memorize things like Get-AllUsersHereNowExtraLongJohn

      • Matriks404@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        5 days ago

        In PowerShell most common cmdlets for basic operations have aliases by default. And funnily enough you can use both Windows (cmd.exe) and Unix shell names for these. (copy vs cp, del vs rm, etc.)

        AFAIK The cmdlets that you use only by Verb-Noun convention are mostly used in scripts, or in some administration tasks.

        I also think that some poeple miss the point of PowerShell, as it’s not supposed to be worked with like with Unix shells, since it’s more object-oriented than string-oriented.

        • LainTrain@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          22
          arrow-down
          1
          ·
          6 days ago

          Versus:

          man $commamd

          PowerShell might be okay script syntax for people with uncorrected sight issues and the elderly who’s heart might not handle bash without set -e but to be useful as a CLI shell prompt that is your primary way of interacting with the computer like it can be on Linux it needs to be so so so much shorter. I’ll be dead by the time I type out half the shit it’d be like 4 key presses total on Linux.

          And that’s before you get to the issues of it being a whole object oriented and typed programming language with .NET whereas shell is nice universal text everywhere that can be piped around however you want.

          There are even those absolute mad lads who unironically use PowerShell on Linux.

          Learning the absolute basics of how to use tmux, vim, sed, awk and grep and pipes and redirects and the basics of handling stdin and stdout genuinely made me feel like all my life I was an NPC in the matrix and now I’m Neo just because passing around bits of text is so powerful when everything works on that basis.

          • TwilightKiddy@programming.dev
            link
            fedilink
            English
            arrow-up
            15
            ·
            6 days ago

            Yea, when I switched to Linux, at first I installed PowerShell to get something familiar, but quickly realized that contrary to Windows, terminal on Linux is actually usable on it’s own out of the box.

          • AdamBomb@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            1
            ·
            5 days ago

            Re: length of commands, PS commands are longer, but they also have tab completion so realistically you never type the whole thing, only enough to be unambiguous and press tab. I’ll grant it’s still longer than the equivalent bash, but not by as much as it appears.

          • exu@feditown.com
            link
            fedilink
            English
            arrow-up
            4
            ·
            6 days ago

            PowerShell doesn’t stop on errors either by default. And of course a significant number of tools you need aren’t available in PowerShell, only cover partial functionality or are an exe you need to call so even if it did stop on error, doesn’t work for those tools by default.

            • LainTrain@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              5
              ·
              5 days ago

              It is still a shock to me that some genius aliased curl to Invoke-WebRequest and that curl.exe is what you actually want.

          • calcopiritus@lemmy.world
            link
            fedilink
            arrow-up
            3
            arrow-down
            1
            ·
            6 days ago

            I’m one of those that use PowerShell on linux.

            You can use tmux, vim, sed, awk or whatever binary you want from PowerShell. Those are binaries, not shell commands.

            You can use pipes, redirects, stdin and stdout in PowerShell too.

            I personally don’t regularly use any object oriented features. But whenever I search how to do something that I don’t know what to do, a clear object-oriented result is much easier to understand than a random string of characters for awk and sed.

            • LainTrain@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              3
              ·
              edit-2
              5 days ago

              Mixing the two philosophies of coreutils and unix bins and whatever is happening in PowerShell seems even more unholy to me than the phrase “object oriented result”, but different strokes.

              I gave up on PowerShell on Windows as a plausible alternative to Bash on Linux the minute I realized there’s no real equivalent tocat, there’s type or if you hate yourself - Get-Content which is aliased as cat but doesn’t really work the same way.

              If I can’t even very basically list a file irregardless of what’s in it, it’s just dead out of the gate.

              On Linux, I once sent myself an MP3 from my server to my laptop with cat song.mp3 | base64 -w0 > /dev/tcp/10.10.10.2/9999 because I cba to send ssh keys.

              I’ll give modern windows a few points - the new terminal emulator application is sweet, and having ssh makes it easy to login to remotely.

              PowerShell is a strange programming language that makes me wish I was just writing C#.

              Bash is a shell language. At its heart it’s a CLI, emphasis on the I, it’s the primary way of interacting with a computer, not a way to write programs. Even awk is arguably better suited.

              That’s why it neither needs to be verbose nor readable for complete beginners, you memorize it the same way you memorize where buttons are on a keyboard or what items you can expect in a right click context menu on Windows.

              Most bash scripts people write are far too complex for it and could stand a rewrite in perl or python or heck, what I think actually works amazing as a “scripting language” - C.

    • SinkingLotus@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      ·
      6 days ago

      I’m the type to spend 10 minutes going through my previous commands, rather than 5 seconds typing it.

    • dgdft@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      6 days ago

      See also: atuin - a shell history tool that records your shell history to sqlite.

      Seamless sync across shell sessions & machines, E2EE + trivially self-hostable sync server, compatible with all major shells, interactive search, etc.

  • BoiBy@sh.itjust.works
    link
    fedilink
    arrow-up
    45
    ·
    edit-2
    5 days ago

    I use Linux and I prefer GUIs. I’m the kind of person that would rather open a filemanager as superuser and drag and drop system files than type commands and addresses. I hope you hax0rs won’t forget that we mere mortals exist too and you’ll make GUIs for us 🙏🙏🙏

    • TwoBeeSan@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      5 days ago

      I tried to learn superfile thinking it could make terminal more exciting but nah.

      Gimme that comfy file explorer gui.

      Totally agree.

    • Shanmugha@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      5 days ago

      I would say “why not, to each their own” if not the thought about what else the filemanager is going to do with root access (like downloading data from web for file preview). But the general sentiment still stands, it is absurd to think that computer must be used only in one way by all people

    • Lv_InSaNe_vL@lemmy.world
      link
      fedilink
      arrow-up
      25
      arrow-down
      1
      ·
      5 days ago

      Tbf, the file explorer is actually one really good argument for GUIs over terminals. Same with editing text. Its either simple enough to use Nano or I need a proper text editor. I don’t mess around with vim or anything like that that.

      Its all tools. Some things are easier in a file manager, some things are easier in a GUI.

      • BoiBy@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        5 days ago

        Yeah I prefer fancy text editor too. And my biggest heartbreak was learning that I can’t just sudo kate (there’s a way to use Kate to edit with higher privileges but I never remember how, edit: apparently it’s opensuse specific problem).

        Born to Kate, forced to nano

        • Illecors@lemmy.cafe
          link
          fedilink
          English
          arrow-up
          4
          ·
          5 days ago

          The problem is running GUI code as root as it’s never been vetted for that. What you want, effectively, is to have EDITOR variable of your session set to kate and open system files using sudoedit. I’m a terminal guy myself, so this exact thing is enough for me. Having said that - I’m sure someone will chime in with a plugin/addon/extension/etc that adds this to the right click context for what I assume is KDE. Or you can try looking for that om your favourite search engine.

        • swelter_spark@reddthat.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 days ago

          You can edit system files with a GUI text editor by opening the containing folder as root in a GUI file manager, then opening the file you want to edit from there.

      • trashgirlfriend@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        5 days ago

        I think it depends, if I have a simple file structure and know where stuff is, it’s pretty efficient to do operations in the terminal.

        If I have a billion files to go through a file manager might be easier.

    • Korhaka@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      11
      ·
      5 days ago

      I use both, depends a bit on the task at hand. Generally simple tasks GUI and complex ones CLI. Especially if I want anything automated.

    • utopiah@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      5 days ago

      FWIW I do use the file browser too when I’m looking for a file with a useful preview, e.g. images.

      When I do have to handle a large amount of files though (e.g. more than a dozen) and so something “to them”, rather than just move them around, then the CLI becomes very powerful.

      It’s not because one uses the CLI that one never used a file browser.

      • takeheart@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        5 days ago

        Yeah, when I need to inspect lots of images I just open the folder in gwenview.

        For peeking at a single picture or two through you can hold down control and click/hover on the filename when using Konsole. Love that feature. You can even listen to .wav files this way.

        • utopiah@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          5 days ago

          Very nice, I don’t seem to have that option available but I can right-click on a filename to open the file manager in the current directory. Good to know!

      • BoiBy@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        5 days ago

        I once did rm \* accidentally lol. I now have a program that just moves files to trash aliased as “rm” just in case. I just don’t feel confident moving files in CLI

  • Honytawk@lemmy.zip
    link
    fedilink
    English
    arrow-up
    24
    ·
    5 days ago

    Nothing wrong with CLI. It is fast and responsive.

    Unless you want mainstream use. Because the majority of people can’t even use a UI effectively. And CLI is much worse.

  • LovableSidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    edit-2
    5 days ago

    Having started out in programming before the GUI era, typing commands just feels good to me. But tbh Linux commands really are ridiculously cryptic - and needlessly so. In the 1980s and 90s there was a great OS called VMS whose commands and options were all English words (I don’t know if it was localized). It was amazingly intuitive. For example, to print 3 copies of a file in landscape orientation the command would be PRINT /COPIES=3 /ORIENTATION=LANDSCAPE. And you could abbreviate anything any way you wanted as long as it was still unambiguous. So PRI /COP=3 /OR=LAND would work, and if you really hated typing you could probably get away with PR /C=3 /O=L. And it wasn’t even case-sensitive, I’m just using uppercase for illustration.

    The point is, there’s no reason to make everybody remember some programmer’s individual decision about how to abbreviate something - “chmod o+rwx” could have been “setmode /other=read,write,execute” or something equally easy for newbies. The original developers of Unix and its descendants just thought the way they thought. Terseness was partly just computer culture of that era. Since computers were small with tight resources, filenames on many systems were limited to 8 characters with 3-char extension. This was still true even for DOS. Variables in older languages were often single characters or a letter + digit. As late as 1991 I remember having to debug an ancient accounting program whose variables were all like A1, A2, B5… with no comments. It was a freaking nightmare.

    Anyway, I’m just saying the crypticness is largely cultural and unnecessary. If there is some kind of CLI “skin” that lets you interact with Linux at the command line using normal words, I’d love to know about it.

  • Tin@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    5 days ago

    I do most of my work at the command line, my co-workers do think I’m nuts for doing it, but one of our recent projects required us all to log into a client’s systems, and a significant portion of the tasks must be done via bash prompt. Suddenly, I’m no longer the team weirdo, I’m a subject matter expert.

  • gamermanh@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    38
    arrow-down
    8
    ·
    5 days ago

    Lol, meme’s backwards

    CLI evangelists try to shit on GUI constantly, as though it makes them better at computers. It doesn’t, kids

    Can see it in this very thread

    • renzev@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      8
      ·
      5 days ago

      Lol no. Many posts in this community recently making fun of gimp. Do you see anyone in the comments going WELL ACTUALLY IF YOU JUST USE IMAGEMAGICK? No. Plenty of things to complain about in the big DE’s like KDE and Gnome. But do you see people saying “just use tty”? Also no. Meanwhile you mention terminal once and you get at least two randos going on about how ThIs Is WhY LiNuX IsNt ReAdY. The meme is not backwards, your perception of reality is.

      • gamermanh@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        5 days ago

        Many posts in this community recently making fun of gimp. Do you see anyone in the comments going WELL ACTUALLY IF YOU JUST USE IMAGEMAGICK? No.

        You really don’t see why people would suggest using other GUI alternatives for image manipulation? image manipulation?

        Plenty of things to complain about in the big DE’s like KDE and Gnome. But do you see people saying “just use tty”? Also no

        “People don’t recommend entirely dropping GUI over one or two GUI issues!” Shocker, wow. They do condescendingly say 'just go into terminal and do x,y,z" though, like I said

        • zarkanian@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          arrow-down
          2
          ·
          5 days ago

          It isn’t condescending. It’s the easiest and simplest way to do a thing. Additionally, there’s a wide variety in GUI options on Linux, so if I’m helping somebody out, I’m going to give the terminal commands. Not because I’m a terminal elitist or some nonsense, but because I know it will work regardless of whatever their GUI setup is. I might know where to go in KDE, but I don’t know where it would be in GNOME or any other desktop environment I’m unfamiliar with. The terminal command is going to be the same for everybody, though.

    • GiveOver@feddit.uk
      link
      fedilink
      arrow-up
      2
      arrow-down
      12
      ·
      5 days ago

      But that’s what you’re doing too. Making the meme the correct way round.

      • gamermanh@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        10
        arrow-down
        1
        ·
        5 days ago

        Nope, I encourage people to learn CLI but to also use GUI if it does what they need it to. The insult was only to people who think they’re superior for using CLI cuz that’s a silly stance

        Just laughing at the meme being backwards from my own personal experience

  • forrcaho@lemmy.world
    link
    fedilink
    arrow-up
    25
    arrow-down
    2
    ·
    5 days ago

    CLI is being able to speak a language to tell your computer what to do; GUI is only being able to point and grunt.

  • dalekcaan@lemm.ee
    link
    fedilink
    arrow-up
    21
    ·
    5 days ago

    It’s all a matter of preference anyway (assuming you have both options anyway). CLI is less intuitive and takes longer to learn, but can be wicked fast if you know what you’re doing. GUI is more intuitive and faster to pick up, but digging through the interface is usually slower than what a power user can accomplish in the CLI.

    It depends on what your use case is and how you prefer your work flow. The only dumb move is judging how other people like their setup.

  • lightnsfw@reddthat.com
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    5 days ago

    Did a process last week that took me 13 steps in the command line that took about an hour. If I’d have done it manually it would have taken days. After I worked out how to do it I trimed it down to 6 steps and sent it to my coworker that also needs that information. His eyes glazed over on step two of explaining it to him and he’s just going to keep doing it his way…

  • Nyadia (she/they)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    5 days ago

    Perception: “the CLI is scary and hard to use” Reality: “computer, install gimp” “yessir, that’ll be 141MB, is that okay?”

  • Kuranashi@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    5 days ago

    I’ve never met any windows evangelists to be honest. Lots of Apple evangelists though who will spend forever talking about windows. Every developer I’ve met who uses Windows always had a tongue in cheek sort of “well it kind of sucks in some ways but it’s what I’m used to, one day maybe I’ll get off my ass and change OS”.

    Reminds me of the “I use Arch Linux btw” meme which doesn’t really happen as much anymore other than as a joke. Also, I use Arch Linux btw

  • Nabuu@lemmings.world
    link
    fedilink
    arrow-up
    39
    arrow-down
    1
    ·
    6 days ago

    I mean, the reverse is also true, people have memorized which buttons, menus, etc they need to click/drag with do be productive. Sometimes i m OK with all the clicking, but most times I just want to do the thing now.

    Type 3 words or click through 9 context menus. 😅

    • renzev@lemmy.worldOP
      link
      fedilink
      arrow-up
      19
      arrow-down
      2
      ·
      6 days ago

      Yeah exactly ANY interface made by humans speaks a design language, and it’s only “intuitive” insofar as the user understands that language. There’s nothing inherently “intuitive” about GUI, it’s a language that you’ve learned through a long process of trial and error. This is painfully obvious to anyone who’s ever had to help Grandma reset her gmail password out over the phone. Same for CLI. At first you’re copy-pasting commands from tutorials and struggling with man pages, but after a while you get used to the conventions. You learn that -h helps you out and --verbose tells you more and so forth. You could make the case that the GUI design language is more intuitive because it’s based of physical objects like buttons and sliders that many people are familiar with, but honestly ever since we abandoned skeumorphic design that argument rings a little hollow.

      • some@programming.dev
        link
        fedilink
        English
        arrow-up
        15
        arrow-down
        1
        ·
        6 days ago

        That’s a very nuanced analysis. I’ve explained it this way especially to people who describe themselves as “bad at computers”. Hey, give yourself a break, you’ve learned a lot about how to cope with windows. But this investment leads to a conservatism— they dont want to learn coping skills o a new system. The devil you know.

        I’d just add that GUI is more discoverable. When faced with a terminal, what to do? Whereas with a GUI you have a menubar, some icons etc. The GUI gives a lot more hints.

        In the terminal (which I love) it is more powerful once you know how to crack the lid.

        • VindictiveJudge@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          6 days ago

          Exactly. You need documentation to figure out how to do anything in a CLI, and if you forget it’s back to the documentation, but a GUI exposes all its commands immediately, allowing the user to find things on their own.

          Except the iOS UI, which is heavily reliant on gestures with varying numbers of fingers, pressure dependent touch commands that are difficult to pull off consistently (seriously, how the hell do you deliberately do the multi-select drag thing?), and hidden menus that are exposed by dragging in from specific portions of the screen at specific angles with no hint that they’re there.

  • salacious_coaster@infosec.pub
    link
    fedilink
    English
    arrow-up
    38
    arrow-down
    3
    ·
    edit-2
    6 days ago

    Are the “Windows evangelists” in the room with us right now? Every Windows admin I know hates Microsoft with a burning rage. Literally the only people I’ve ever seen promote Windows are being paid to do it.

    Counterintuitively, that’s one reason I like dealing with Windows: the community knows what it is and doesn’t pretend otherwise, like some other more “zealous” fan bases.

    • renzev@lemmy.worldOP
      link
      fedilink
      arrow-up
      25
      arrow-down
      8
      ·
      edit-2
      6 days ago

      Literally the only people I’ve ever seen promote Windows are being paid to do it.

      Yeah, that’s the demographic I had in mind. Lemmy is full of paid shills lol.