this post was submitted on 05 Oct 2023
476 points (80.9% liked)
Linux
48317 readers
1122 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
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."
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.
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.
It’s case sensitive? Oh wow, that does make things a lot easier. I still hate hyphens