How can I know which shell I am using? How can I know which shell I am using? shell shell

How can I know which shell I am using?


Yet another way: echo $SHELL.


If you remove the / from bash/, it should work.


You ca try the following command

which bash

at a shell. Then put

#!<the output of which bash>