this post was submitted on 03 Dec 2021
24 points (90.0% liked)

Linux

47616 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 15 comments
sorted by: hot top controversial new old
[–] hello_lebbit@lemmy.ml 12 points 2 years ago

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

[–] yogthos@lemmy.ml 8 points 2 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.

[–] dessalines@lemmy.ml 3 points 2 years ago (1 children)

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

[–] yogthos@lemmy.ml 1 points 2 years ago

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

[–] newhoa@lemmy.ml 5 points 2 years ago (1 children)

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.

[–] lionel@lemmy.coupou.fr 0 points 2 years ago

The bash scripts incompatibility used to be downside for me as well but I discovered bass and that problem disappeared.

[–] x2ero@feddit.de 5 points 2 years ago* (last edited 2 years ago)

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

[–] erpicht@lemmy.ml 3 points 2 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.

[–] mieum@lemmy.ml 2 points 2 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

[–] hello_lebbit@lemmy.ml 2 points 2 years ago* (last edited 2 years ago) (2 children)

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

[–] pingveno@lemmy.ml 2 points 2 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.

[–] mieum@lemmy.ml 1 points 2 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.

[–] hello_lebbit@lemmy.ml 3 points 2 years ago* (last edited 2 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

[–] SrEstegosaurio@lemmy.ml 1 points 2 years ago

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

[–] batmanundertaker@lemmy.ml -5 points 2 years ago

Linux is for fucking losers anyway. Switch to Mac