If I want my scripts to use the bash shell, does using the .bash extension actually invoke bash or does it depend on system config / 1st shebang line. If both were in effect but different, which would have precedence?
I'm not sure whether to end my scripts with .sh to just indicate "shell script" and then have the first line select the bash shell (e.g.
#!/usr/bin/env bash) or whether to just end them with .bash (as well as the line 1 setting). I want bash to be invoked.