I have this simple script:
#!/bin/dash
echo "Shell used:" $SHELL
I expected to get:
Shell used: /bin/dash
But instead of the output is:
Shell used: /bin/bash
I'm running the script as:
./my_script.sh
I have this simple script:
#!/bin/dash
echo "Shell used:" $SHELL
I expected to get:
Shell used: /bin/dash
But instead of the output is:
Shell used: /bin/bash
I'm running the script as:
./my_script.sh