You can check the current shell in use by running the following command.
echo $SHELL
However,
notice that echo $SHELL
does not report the right shell sometimes.
A more robust way is to use echo $0
.
The default shell can be changed using thee comamnd chsh
.
For example,
thee following …