I am facing a problem related to the shell change, when I change the shell from bash to csh and type the comand echo $SHELL
, I expect the shell to print:
/bin/csh
But instead it prints:
/bin/bash
What is the reason for that? How do I print the path to the currently running shell instead?
echo $SHELL
returns your default shell.