On Tue, 26 Apr 2005 21:40:45 PDT, Shiraz Baig said: > You see the point is "which shell are you are > intrested in?" Are you interested in the currently > executing shell. Or you are interested in your > login shell. The former is aval thru echo $SHELL. > and the error reporting. The latter is available > thru cat /etc/passwd. Umm.. no... the former (the currently executing shell) is *NOT* available in $SHELL in the situation I described, because it had been set to the shell specified in /etc/passwd rather than the currently executing shell. That was the *point* of the posting - $SHELL isn't what you'd naively expect at that point...
Attachment:
pgpKYv2TQEhU5.pgp
Description: PGP signature