How to determine Shell

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

How to determine Shell

You can get the name of your shell prompt, with following command :

Syntax:

echo $SHELL  

Linuxss How to determine shell 1

Look at the above snapshot, with the help of above command we got the name of our shell which is 'bash'.

The $ sign stands for a shell variable, echo will return the text whatever you typed in.