Which shell is running June 23, 2019 by Ulysses Here’s how to find out which shell you are running. Run any of the 3 commands below. echo $0 echo $SHELL ps -p "$$"echo $0 echo $SHELL ps -p "$$"