this post was submitted on 31 Aug 2023
-1 points (33.3% liked)

Linux

45573 readers
668 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
-1
Stop Using Bash (discuss.online)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

  • Use Oil Shell if you want a faster and more modern version of Bash that's compatible with it and offers more modern oil language.
  • Use Zsh if you want better extendability and more plugins.
  • Use Fish if you want perfect out of the box configuration and a more modern (and less verbose for most cases) scripting language.
  • Use Dash/Ash if you want better speed and full POSIX compliance (no extension, no unimplemented features).
  • Use Yash if you want better autocomplete but still faster than Bash.
  • Use Xonsh if you want an awesome Python-based scripting experience and very nice autocomplete.
  • Use Elvish if you want a more modern scripting language.
  • Or use anything. Any shell will be better than Bash. Bash is slow, not POSIX compliant, and doesn't offer Zsh/Fish level autocomplete.
top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 10 months ago

Nah, bash is fine.

[–] [email protected] 0 points 10 months ago

Bash is good and is standard. Have been experimenting with zsh but don't really see the appeal

If I need to write a script that is too complicated to do in bash I'll do it in python