What shell am I using on Unix?
To check the shell currently being used on a Unix system enter:
echo $0
or
ps -p $$
The above always returns the current shell as the above prints the current process.
What's the difference between the shell currently being used and the shell assigned to the user?
To check the shell assigned to your user account enter: