On Tue, 2003-06-17 at 19:03, Bryan Murdock wrote:
> Weird...well anyway, he wrote more than that but...I checked on HP-UX
> and $SHELL is set to /usr/bin/sh when I'm in ksh.  I'll have to chsh to
> bash tomorrow (it's quittin' time) and see what it says.  On my redhat
> box when I'm logged in with ksh (pdksh actually, of course) $SHELL is
> empty.  I can't find where $SHELL is initially set up on either system.

It's common for sh to be link to bash or ksh as both are a super-set of
sh. Check /etc/passwd, it's possible that sh really is your shell. As
for pdksh, I can't stand it. Ksh is great, pdksh is anemic. Did you know
that ksh is available for free for Linux? Some licensing restriction so
distros don't carry it, but it is an option if you're more comfortable
with hp-ux's ksh.

As for setting $SHELL, that's the responsibility of the shell itself.
There are a number of other variables it also sets that you won't find
in any config file.

-- 
Stuart Jansen <[EMAIL PROTECTED], AIM:StuartMJansen>

"What hole did you dig that up from?" 
   -- my roommate commenting on my taste in music

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to