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

Webmin configuration for LDAP

Sample questions and answers for AWS Associate Solutions Architect Certification ---> AWS exam dumps