I have a Red Hat Linux machine and I'm trying to find out what shell I am using.
When I run echo $0
, I get sh
.
ps -p $$
has the same output.
However, as I understand from [here][1], sh
is not a real shell, but only a symlink to a real shell such as bash
, dash
, ksh
, etc.
So how can I find out the real shell behind sh
?