How can I tell which Unix shell I am using?

Viewed 76207

Is there an easy way by which I can tell which type of Unix shell I am in?

A command that shows whether I am in a Bash, C shell, KornShell (ksh), tcsh, or Z shell (zsh)?

E.g.,

whatshellisthis

5 Answers
Related