On Tue, 2003-06-17 at 16:39, Corey Edwards wrote:
> On Tue, 2003-06-17 at 16:31, Bryan Murdock wrote:
> > I'm working on some environment setup scripts and I need to know inside
> > the script which shell the user (the person running the script) is
> > using.  Short of doing a finger username and parsing out which shell
> > they are using, how do I figure this out?
> 
> The environment variable SHELL will tell you.
> 
>   $ echo $SHELL
>   /bin/bash

That's what I thought, but it doesn't seem to be set, at least for me
using ksh...maybe I just need to make sure that it is set in everyone's
.profile?

Bryan


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to