echo $SHELL
Or maybe go look in the user password file:
cat /etc/passwdwhich may return:
/bin/bash
which will return a bunch of lines, along with one that is your username:
myusername:x:1000:1000:My,Name,999-999-9999,:/home/folder:/bin/bash
both of which tell me that I'm using the BASH shell.
Nice blog.
ReplyDeleteLinux course in Pune