Subject: Re: Path setting
To: Colin Wood <cwood@ichips.intel.com>
From: Ken Nakata <knakata@itpjp.co.jp>
List: port-mac68k
Date: 10/09/1998 15:04:08
Colin Wood wrote:
> ledfordm@gpc.peachnet.edu wrote:
> > I am used to using bash as my shell but I don't know how to set the
> > path and where with csh.
>
> in all likelihood you can edit your .profile. the path is probably
> already set in there. if you're just going to do it on the command line,
> this should work:
>
> export PATH=/path/to/bin1:/path/to/bin2:/and/so/on
No, reread what he wrote a bit more carefully. He's used to using
*bash* (with which above would work just fine) but he's trying to set
the path within *csh*. Not having read his post very carefully myself,
I suggested he install the bash binary package, but a more correct
solution would be change root's shell to /bin/sh from /bin/csh.
Changing root's shell to something under /usr might be like inviting a
disaster to happen (maybe it's not so bad, but I don't like it
nonetheless, especially when our /bin/sh has history and command line
editting on its own; I use bash as a normal, non-root user, though).
I always change root's shell to /bin/sh as soon as I do a fresh install
whether it's NetBSD or something else. I personally think no variant of
csh should ever be distributed with the rest of the system.
Cheers,
Ken