• Hot Saucerman@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 year ago

    Also, if we’re gonna be talking about which CLI is easier to learn and use?

    I wonder if its Linux, which has different programs for each flavor (apt get vs pacman vs yum) and whose command-set is from the 1990s where you had to use as little code as possible because of space/cpu limitations so the names for what each command does are not very descriptive…

    Or is is Microsofts Powershell which has an extensive get-help command which provides a deep-dive on each and every command there is on top of all the commands being human readable in a verb-noun format that can be read by a layman and generally understood what the command is doing simply by its name. Oh and get-command so if you’re not sure what command you need, you can search for it by keyword.

    Man pages can be pretty useless if you don’t already know which command you need. In Linux you don’t have as many options of learning what the command you need is, because they’re not human readable. Instead you have to search online and hope someone can clue you in to the right command/set of commands.

    Linux is the better OS, but Microsoft made the right choice by making Powershell commands human readable and straight forward. If Linux was being started from scratch, this is something I would put in the pipeline: “Human readable commands in a verb-noun structure.”

    • Aatube@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      The problem with powershell for me is everything needs to be typed in a dreaded Pascal + Kebab case which makes typing quite slower than linux’s all-lowercase commands. Easeir to learn, perhaps, but not easier to use.

      • Hot Saucerman@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        I get that, but Windows/Powershell isn’t case-sensitive, so you can type it all lowercase if you want (I do).

        Linux on the other hand is case sensitive despite most GNU tools defaulting to all lower case. There’s definitely a bunch of case-sensitive switches in Linux CLI applications.

        There has been optional case-insensitive file system support in Linux for a few years now, though.

        • Aatube@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          It’s case sensitive? Oh wow, that does make things a lot easier. I still hate hyphens