[SunHELP] /bin/sh
David Baldwin
sunhelp at sunhelp.org
Tue Jul 31 14:20:43 CDT 2001
Thanks for the response.
I heard that there was this little problem and a way around it. For one
reason or another we need to use /bin/sh for root but I would like the
little added convenience of the prompt with the current working dir. =20
For the life of me, I just can't remember the work around.
Thanks though.
Dave Baldwin
-----Original Message-----
From: Christopher Smiga [mailto:csmiga at yahoo.com]=20
Sent: Tuesday, July 31, 2001 9:22 AM
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] /bin/sh
Dave,
BASH is a newer shell than "sh". Not all features are compatible with
"sh". It's like "sh" is the lowest common denominator to BASH and KORN
shells. Someone else may be able to give you an explanation of how to,
but this is probably the reason to why one works works verses the other.
Christopher Smiga
--------------------------------------------------------
David Baldwin wrote:
> Is there a way to make the command prompt display the current working
> directory with /bin/sh for a shell? I can do it with bash with =
PS1=3D\W
> but with /bin/sh it doesn't change when you change dirs.
> Any ideas?
> Thanks.
> Dave Baldwin
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist - SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list