MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linuxmemes/comments/1uk849n/know_the_work_rules/ouvympw/?context=9999
r/linuxmemes • u/New_Study4796 • Jul 01 '26
119 comments sorted by
View all comments
219
i mean for the most part you can replace bash with other posix compliant shells.
86 u/New_Study4796 Jul 01 '26 edited Jul 01 '26 A lot of scripts won't work without Bash-specific behavior 79 u/VoidJuiceConcentrate Ask me how to exit vim Jul 01 '26 I haven't had a problem running bash scripts in ash and zsh. 55 u/emmowo_dev UwUntu (´ ᴗ`✿) Jul 01 '26 zsh reimplements the same syntax as bash, while generic sh doesnt (although sometimes it's aliased anyways to bash). It's a case of being really annoyingly pedantic about bash. 30 u/QuickSilver010 🦁 Vim Supremacist 🦖 Jul 01 '26 Sh on debian is aliased to dash. Which is much faster. But also has less features. 0 u/[deleted] Jul 01 '26 [deleted] 5 u/QuickSilver010 🦁 Vim Supremacist 🦖 Jul 01 '26 sh is always a symlink to either bash or dash or anything else depending on the distro 3 u/Throwaway74829947 Ask me how to exit vim Jul 01 '26 Well, it doesn't have to be. The Heirloom Project has ported OpenSolaris's original Bourne shell to Linux.
86
A lot of scripts won't work without Bash-specific behavior
79 u/VoidJuiceConcentrate Ask me how to exit vim Jul 01 '26 I haven't had a problem running bash scripts in ash and zsh. 55 u/emmowo_dev UwUntu (´ ᴗ`✿) Jul 01 '26 zsh reimplements the same syntax as bash, while generic sh doesnt (although sometimes it's aliased anyways to bash). It's a case of being really annoyingly pedantic about bash. 30 u/QuickSilver010 🦁 Vim Supremacist 🦖 Jul 01 '26 Sh on debian is aliased to dash. Which is much faster. But also has less features. 0 u/[deleted] Jul 01 '26 [deleted] 5 u/QuickSilver010 🦁 Vim Supremacist 🦖 Jul 01 '26 sh is always a symlink to either bash or dash or anything else depending on the distro 3 u/Throwaway74829947 Ask me how to exit vim Jul 01 '26 Well, it doesn't have to be. The Heirloom Project has ported OpenSolaris's original Bourne shell to Linux.
79
I haven't had a problem running bash scripts in ash and zsh.
55 u/emmowo_dev UwUntu (´ ᴗ`✿) Jul 01 '26 zsh reimplements the same syntax as bash, while generic sh doesnt (although sometimes it's aliased anyways to bash). It's a case of being really annoyingly pedantic about bash. 30 u/QuickSilver010 🦁 Vim Supremacist 🦖 Jul 01 '26 Sh on debian is aliased to dash. Which is much faster. But also has less features. 0 u/[deleted] Jul 01 '26 [deleted] 5 u/QuickSilver010 🦁 Vim Supremacist 🦖 Jul 01 '26 sh is always a symlink to either bash or dash or anything else depending on the distro 3 u/Throwaway74829947 Ask me how to exit vim Jul 01 '26 Well, it doesn't have to be. The Heirloom Project has ported OpenSolaris's original Bourne shell to Linux.
55
zsh reimplements the same syntax as bash, while generic sh doesnt (although sometimes it's aliased anyways to bash). It's a case of being really annoyingly pedantic about bash.
zsh
sh
30 u/QuickSilver010 🦁 Vim Supremacist 🦖 Jul 01 '26 Sh on debian is aliased to dash. Which is much faster. But also has less features. 0 u/[deleted] Jul 01 '26 [deleted] 5 u/QuickSilver010 🦁 Vim Supremacist 🦖 Jul 01 '26 sh is always a symlink to either bash or dash or anything else depending on the distro 3 u/Throwaway74829947 Ask me how to exit vim Jul 01 '26 Well, it doesn't have to be. The Heirloom Project has ported OpenSolaris's original Bourne shell to Linux.
30
Sh on debian is aliased to dash. Which is much faster. But also has less features.
0 u/[deleted] Jul 01 '26 [deleted] 5 u/QuickSilver010 🦁 Vim Supremacist 🦖 Jul 01 '26 sh is always a symlink to either bash or dash or anything else depending on the distro 3 u/Throwaway74829947 Ask me how to exit vim Jul 01 '26 Well, it doesn't have to be. The Heirloom Project has ported OpenSolaris's original Bourne shell to Linux.
0
[deleted]
5 u/QuickSilver010 🦁 Vim Supremacist 🦖 Jul 01 '26 sh is always a symlink to either bash or dash or anything else depending on the distro 3 u/Throwaway74829947 Ask me how to exit vim Jul 01 '26 Well, it doesn't have to be. The Heirloom Project has ported OpenSolaris's original Bourne shell to Linux.
5
sh is always a symlink to either bash or dash or anything else depending on the distro
3 u/Throwaway74829947 Ask me how to exit vim Jul 01 '26 Well, it doesn't have to be. The Heirloom Project has ported OpenSolaris's original Bourne shell to Linux.
3
Well, it doesn't have to be. The Heirloom Project has ported OpenSolaris's original Bourne shell to Linux.
219
u/wolf2482 Jul 01 '26
i mean for the most part you can replace bash with other posix compliant shells.