this post was submitted on 03 Dec 2021
23 points (89.7% liked)

Linux

49469 readers
643 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
top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 3 years ago

Was expecting a bit more indepth analysis but this is good too

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

Fish is by far my favorite shell at the moment. I find it does contextual autocompletion a lot better than any other shell I've tried.

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

Same, fish is my fav. Fish + starship is a really great combo for terms.

[–] [email protected] 2 points 3 years ago

oh thanks for the heads up, I haven't looked at starship yet :)

[–] [email protected] 5 points 3 years ago* (last edited 3 years ago)

indeed, a very short description for a bunch of shells. Could be more verbose..

[–] [email protected] 5 points 3 years ago

Fish is my favorite. I can barely do without it. Only downside is some bash commands don't work on it without modification.

But I'm also having a ton of fun right now with xonsh which lets you use python and bash together.

[–] [email protected] 3 points 3 years ago

As @mieum mentioned, FreeBSD does not ship with zsh by default. The user chooses their preferred shell when setting up: csh, tcsh, and sh are the options.

Also, there are several distinct versions of ksh. Adding which version (of each shell) you tried would be helpful as well.

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

You may know Zsh as the default shell for FreeBSD

I thought on FreeBSD tcsh was default for root and sh was default for other users. Also never realized anyone used dash as a login shell :b

[–] [email protected] 2 points 3 years ago* (last edited 3 years ago) (2 children)

/bin/sh is just a symlink to the default shell which usually is dash for root on linux

[–] [email protected] 2 points 3 years ago

I think the default shell is very distro dependent. Ubuntu-based distros typically use dash, Arch Linux uses bash, and Alpine Linux uses BusyBox's compiled in ash shell.

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

I believe the original Almquist shell is used on FreeBSD. I know on Debian dash is the sh implementation (afterall it is Debian Almquist Shell), but the default login shell for the root user is bash apparently.

[–] [email protected] 3 points 3 years ago* (last edited 3 years ago)

/bin/sh historically used to be an actual shell(the Bourne shell*), but now by default it points to one set by the distro's devs. Almquist shell was an alternative developed with a BSD license and i guess its still used

[–] [email protected] 1 points 3 years ago

Cool article, I would like a more in depth technical thing. But still liked it.

[–] [email protected] -5 points 3 years ago

Linux is for fucking losers anyway. Switch to Mac