Linux: Which command shell am I using

To see which shell you are using you can enter a command like:

echo $SHELL

Or maybe go look in the user password file:

cat /etc/passwd
which may return:


 which will return a bunch of lines, along with one that is your username:


both of which tell me that I'm using the BASH shell.

1 comment :