0

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
Micha Wiedenmann
  • 19,979
  • 21
  • 92
  • 137
Juan Reina Pascual
  • 3,988
  • 7
  • 21
  • 34

0 Answers0