• TheOakTree@lemm.ee
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    2 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.

  • MonkeMischief@lemmy.today
    link
    fedilink
    arrow-up
    9
    ·
    2 days ago

    People can do whatever they like, and heck I find CLI intimidating sometimes, but I’m always learning something new a little bit at a time.

    I’m tired of seeing it in every field of interest that has any kind of payoff, whether art or FOSS.

    “I’m [(almost always) a guy] who (maybe has kids and) has a job. I stopped learning anything after I got my job-paper / degree / highschool diploma. I shouldn’t have to learn anything anymore. I am happy to shell out disposable sad-salary-man money (and maybe my soul idk) to any mega-corp that offers me a “create desired outcome button” without me having to think too much. It’s [current year]! I shouldn’t have to think anymore! Therefore Linux is super behind and only for nerds and I desire its benefits so much that I leave this complaint anywhere these folks gather so they know what I deserve.”

    Agh. I gotta go before this rant gets too long lol

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

    My guy, it’s because you’re the vegans of tech.

    Nobody cares. It doesn’t need to be your personality.

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

    Tbh the terminal is super convenient. No random UI placement. Most things follow one of several conventions so less to get used to. It’s easy to output the results of one command into another making automation obvious, no possibility for ads. It’s pretty sweet

  • surph_ninja@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 days ago

    It’s wild that Linux stans are such masochists that they believe they can convert people to loving abuse, instead of just making the interface better to attract users.

  • Fluffy Kitty Cat@slrpnk.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    I feel like a lot more people be comfortable using the terminal if the text displayed when it was first opened gave you a list of commands to try. There is a very steep initial learning curve immediately which discourages experimentation, and I think that with a little bit of effort you could get a lot of people over that hump and then they could enjoy terminal Bliss.

  • Honytawk@lemmy.zip
    link
    fedilink
    English
    arrow-up
    24
    ·
    3 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.

  • Tin@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    3 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.

  • LovableSidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    edit-2
    3 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.

  • lightnsfw@reddthat.com
    link
    fedilink
    arrow-up
    15
    ·
    3 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…

  • BoiBy@sh.itjust.works
    link
    fedilink
    arrow-up
    45
    ·
    edit-2
    3 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 🙏🙏🙏

    • Lv_InSaNe_vL@lemmy.world
      link
      fedilink
      arrow-up
      25
      ·
      3 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.

      • trashgirlfriend@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        3 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.

      • BoiBy@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        3 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
          ·
          3 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
          ·
          3 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.

    • Korhaka@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      11
      ·
      3 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.

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

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

      Gimme that comfy file explorer gui.

      Totally agree.

    • utopiah@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 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
        ·
        3 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
          ·
          3 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
        ·
        3 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

    • Shanmugha@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      3 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

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

      The commands: ls cp mv…

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

        • LainTrain@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          22
          ·
          4 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
            ·
            4 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
            ·
            3 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
            ·
            4 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
              ·
              4 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
            ·
            4 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
              4 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.

      • Matriks404@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        4 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.

    • SinkingLotus@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      ·
      4 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
      ·
      4 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.

  • gamermanh@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    38
    ·
    3 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
      ·
      3 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
        ·
        3 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
          ·
          3 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.

      • gamermanh@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        10
        ·
        3 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