Re: How to find your shell
- From: stian nixia no
- To: "Shiraz Baig" <shiraz_baig yahoo com>
- Cc: valdis kletnieks vt edu, gtklist <gtk-list gnome org>
- Subject: Re: How to find your shell
- Date: Thu, 28 Apr 2005 10:09:20 +0200 (CEST)
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]