DEV Community

Discussion on: Shell Scripts Matter

Collapse
 
blackknight36 profile image
Michael

Use Bash by default, Sh if you have to. Try to forget about Ksh, Zsh or Fish unless there are really good reasons to use them.

If you want your scripts to be truly cross-platform /bin/sh should be the default choice. FreeBSD does not even include bash unless it's installed from ports.