Create Shell detect

Save this file as a shell script (ex: shell_detect.sh) on your *nix machine.
Run this as sh shell_detect.sh