FAQ: Unix
About UNIX Shells
Information about which shell you are using is held in the SHELL environment variable. The command echo $SHELL
or finger username
displays the value of this variable.
You can identify what your default shell is by looking at the last part of the pathname given by the above commands.
- sh: Bourne shell
- csh: C Shell
- tcsh: TC Shell
- ksh: Korn Shell
- bash: Bourne Again SHell