how to find the current shell

echo $0


for example
[davsingh@noisecover-dr Scripts]$ ksh
$ echo $0
ksh
$ exit
[davsingh@noisecover-dr Scripts]$ echo $0
-bash

Comments

Popular posts from this blog

How to delete SEA in VIOS

More VIOS commands

Webmin configuration for LDAP