Pages

Tuesday, July 25, 2017

How to check the name of my current shell

How to check the name of my current shell

In Linux, there are many shell available like BASH, SH, ksh , etc. How to know the name of our current shell, in which we are working ? Run this command,

echo $0
 
 
We may get output like 
/bin/bash or SH etc


Reference:
https://askubuntu.com/questions/590899/how-to-check-which-shell-am-i-using

No comments:

Post a Comment