How to determine your Unix or Linux Shell?
How to determine your command-line Unix/Linux shell.
This assumes you have logged into a Unix or Linux machine.
This also assumes you have a command-line window open (if you are running a GUI) or that you are in a command-line mode (such as when you ssh into a Unix/Linux machine).
Type the following command:
printenv SHELL
If the output is /bin/csh, you have a CSH shell
If the output is /bin/bash, you have a BASH shell.
If you have any other type, well, you'll have to do some investigation.
