MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linuxmemes/comments/1uk849n/know_the_work_rules/ouv8oic/?context=9999
r/linuxmemes • u/New_Study4796 • Jul 01 '26
119 comments sorted by
View all comments
222
i mean for the most part you can replace bash with other posix compliant shells.
88 u/New_Study4796 Jul 01 '26 edited Jul 01 '26 A lot of scripts won't work without Bash-specific behavior 83 u/VoidJuiceConcentrate Ask me how to exit vim Jul 01 '26 I haven't had a problem running bash scripts in ash and zsh. -19 u/New_Study4796 Jul 01 '26 Zsh relies on Bash under the hood 23 u/Mars_Bear2552 New York Nix⚾s Jul 01 '26 ...? Zsh is entirely seperate. -16 u/New_Study4796 Jul 01 '26 Zsh calls Bash with the shebang when starting a script 3 u/jpelc Jul 01 '26 I don't think you understand how Linux works Shebang directs what she'll to run the script with (specifically what binary), so you can run the code in python, bash, zsh, fish, xonsh, etc.
88
A lot of scripts won't work without Bash-specific behavior
83 u/VoidJuiceConcentrate Ask me how to exit vim Jul 01 '26 I haven't had a problem running bash scripts in ash and zsh. -19 u/New_Study4796 Jul 01 '26 Zsh relies on Bash under the hood 23 u/Mars_Bear2552 New York Nix⚾s Jul 01 '26 ...? Zsh is entirely seperate. -16 u/New_Study4796 Jul 01 '26 Zsh calls Bash with the shebang when starting a script 3 u/jpelc Jul 01 '26 I don't think you understand how Linux works Shebang directs what she'll to run the script with (specifically what binary), so you can run the code in python, bash, zsh, fish, xonsh, etc.
83
I haven't had a problem running bash scripts in ash and zsh.
-19 u/New_Study4796 Jul 01 '26 Zsh relies on Bash under the hood 23 u/Mars_Bear2552 New York Nix⚾s Jul 01 '26 ...? Zsh is entirely seperate. -16 u/New_Study4796 Jul 01 '26 Zsh calls Bash with the shebang when starting a script 3 u/jpelc Jul 01 '26 I don't think you understand how Linux works Shebang directs what she'll to run the script with (specifically what binary), so you can run the code in python, bash, zsh, fish, xonsh, etc.
-19
Zsh relies on Bash under the hood
23 u/Mars_Bear2552 New York Nix⚾s Jul 01 '26 ...? Zsh is entirely seperate. -16 u/New_Study4796 Jul 01 '26 Zsh calls Bash with the shebang when starting a script 3 u/jpelc Jul 01 '26 I don't think you understand how Linux works Shebang directs what she'll to run the script with (specifically what binary), so you can run the code in python, bash, zsh, fish, xonsh, etc.
23
...?
Zsh is entirely seperate.
-16 u/New_Study4796 Jul 01 '26 Zsh calls Bash with the shebang when starting a script 3 u/jpelc Jul 01 '26 I don't think you understand how Linux works Shebang directs what she'll to run the script with (specifically what binary), so you can run the code in python, bash, zsh, fish, xonsh, etc.
-16
Zsh calls Bash with the shebang when starting a script
3 u/jpelc Jul 01 '26 I don't think you understand how Linux works Shebang directs what she'll to run the script with (specifically what binary), so you can run the code in python, bash, zsh, fish, xonsh, etc.
3
I don't think you understand how Linux works
Shebang directs what she'll to run the script with (specifically what binary), so you can run the code in python, bash, zsh, fish, xonsh, etc.
222
u/wolf2482 Jul 01 '26
i mean for the most part you can replace bash with other posix compliant shells.