yet i see some of them i have entitled #!/bin/bash
and on Arch it worked, but on Debian 11 i see it cause errors like below.
$ cat test
Code: Select all
#!/usr/bin/bash
if [[ "$1" == "" ]]; then echo "no parameter"; fi
Code: Select all
test: 3: [[: not found
Code: Select all
no parameter
Code: Select all
alias sh="/usr/bin/bash"
$ whereis sh bash
Code: Select all
sh: /usr/bin/sh /usr/share/man/man1/sh.1.gz
bash: /usr/bin/bash /etc/bash.bashrc /usr/share/man/man1/bash.1.gz