I am using OS X 10.8.5. I am trying to figure out if the terminal is running bash. When I type in the following it says "getent" command not found -- but the error message seems to be coming from bash.
Me$ getent passwd $(whoami) | awk -F: '{print $NF}'
-bash: getent: command not found
Am I running bash?