Re: How to find your shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I agree with Mr Kletnieks. I was mistaken. The $SHELL
> does not give the currently executing shell. It
> continues to give the original shell (given in the
> /etc/passwd).

Don't make it any harder than needed :-p

# ls -l /proc/self/exe

That will show where the current shell executable file is located, and
hence its name.

Stian Skjelstad
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux