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

CPU speed webpage "http://www.spec.org/cpu2006/results/cint2006.html"

Webmin configuration for LDAP