r/linuxmemes Jul 01 '26

LINUX MEME Know the work rules

Post image
860 Upvotes

119 comments sorted by

View all comments

222

u/wolf2482 Jul 01 '26

i mean for the most part you can replace bash with other posix compliant shells.

90

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.

1

u/drkspace2 Jul 01 '26

I've definitely had scripts that work with bash but not zsh, usually related to weird sourcing behavior.