this post was submitted on 29 Jan 2026
21 points (95.7% liked)
Linux
61653 readers
781 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 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I was asking about that ksh because I love OpenBSD and in OpenBSD it's default shell. As I like to experiment with different operating systems, not only Linux I think that much better for me would be to learn POSIX shell. What's difference between POSIX shell and bash by the way?
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/shscript. POSIX is not a specific shell itself, its just the standard./usr/bin/shis 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.
ZSH is used by MacOS at the moment as interactive shell. I have these shitty laptops in school