this post was submitted on 05 Oct 2023
425 points (79.6% liked)

Linux

48338 readers
75 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
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

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."

[–] [email protected] 2 points 1 year ago (1 children)

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.

[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago

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