Re:Understanding the bin, sbin, usr/bin, usr/sbin split (2010)
by oat_bravo_nap on Wednesday March 18, 2020 @04:21PM
(#22620840)
If you are using /bin/sh you need to check sure it is a POSIX shell script and not using bash features [1]. On Debian and derivatives /bin/sh is ash not bash.
[1] https://linux.die.net/man/1/checkbashisms