2

Possible Duplicate:
How to test what shell I am using in a terminal?

An echo $SHELL will only display the value of the SHELL variable which would indicate the default shell on the system.

But I might not be always using the default shell on my system:

$ bash
$ echo $SHELL
/bin/bash
$ csh
% echo $SHELL
/bin/bash
%

How can I easily figure out what shell I am using?

merged by Michael Mrozek Mar 30 '11 at 18:02

This question was merged with How to test what shell I am using in a terminal? because it is an exact duplicate of that question.

Browse other questions tagged or ask your own question.