There are a few ways to determine the current shell
echo $0 ps -p $$ echo $SHELL