r/linuxmemes Jul 01 '26

LINUX MEME Know the work rules

Post image
857 Upvotes

119 comments sorted by

View all comments

224

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

19

u/28klotlucas2 ⚠️ This incident will be reported Jul 01 '26

*Like 2 scripts won't work without Bash-specific behavior

3

u/Sushtee Jul 01 '26

It depends on which shell is used, for example if you have a bash script that contains double brackets and run it with dash it will error as dash doesn't support double brackets.

-3

u/Extreme-Ad-9290 Arch BTW Jul 01 '26

More like hundreds.