Is there a command to identify the name/type of current shell, the path to the shell binary, and the version of the shell?
I don\'t need all of that, but the more I
Try ($$ is shell variable set to process id of the shell):
ps -ef | grep $$
or try this (/proc/self is aloso process id of the shell):
ps -ef | grep /proc/self
As regards to "-bash" - dash means it's login shell. Type bash again and now you'll see that the shell is just "bash" (without dash)