this post was submitted on 29 Jan 2026
21 points (95.7% liked)

Linux

61653 readers
710 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 6 years ago
MODERATORS
 

Recently I got really interested in debloating and hardening my operating systems, cause I'm heavily inspired by Unix and "worse is better" philosophy. As I heard bash is heavy and we have much more lightweight and faster alternatives like these mentioned in title. They must be great alternative for scripting and interpreting but is there any reason to use them on my machines as interactive shell? Anyone are using them? Also is it worth to learn them as bash is standard IT industry?

you are viewing a single comment's thread
view the rest of the comments
[–] thingsiplay@lemmy.ml 1 points 7 hours ago (1 children)

POSIX shell is the standard that all shells should support (Fish does not I think). Its basically what is executed if you run it as /usr/bin/sh script. POSIX is not a specific shell itself, its just the standard. /usr/bin/sh is usually a symbolic link to an actual shell interpreter. And any shell could support it, in example Bash with its compatibility mode (what is usually done by default in todays Linux systems). Or Dash is designed to do that specifically and only that as far as I know.

Bash on the other hand is an enhanced shell that introduces some concepts, features and changes default behavior of the standard POSIX. That is when the script runs with /usr/bin/bash. This is also used in your terminal as the interactive shell. And ZSH in example is similar to Bash, but has some extended features over Bash. They are relatively speaking similar. I think ZSH is or was the default shell in MacOS too.

As for KSH, I don't have no experience about this myself. I only know it exists and just saw checklists of differences.

[–] mlody@lemmy.world 0 points 7 hours ago

ZSH is used by MacOS at the moment as interactive shell. I have these shitty laptops in school