Ben,

First, I'd look in /etc/passwd and see what shell you have for a
default.  I'll bet you a nickel the seventh field in each line is
/bin/bash.  It is possible to install both csh and bash, and you would
have the man pages for csh, but if bash is the default shell, the
contents of csh.cshrc would have no effect on it.  Shell commands are
mostly executed by the shell itself, so you won't find them as
themselves anywhere on your system.

If you find you are using bash, you could, of course, change
/etc/passwd to use /bin/csh instead, or you could read the manpages for
bash.  On about the fifth reading, they may even start to make some
sense.  That's what I like about manpages:  the more you know, the more
sense you can make out of them.  Anyway, the global rc file for bash is
/etc/profile.

ICBW, of course, but then it'll cost me a first class stamp to mail you
your nickel.  Hard come, easy go.

Lawson
          >< Microsoft free environment

This mail client runs on Wine.  Your mileage may vary.

On Mon, 8 Mar 1999, Ben Handley wrote:

> Hi,
> 
> i recently tried to add /usr/local/bin to my PATH, but when i looked in
> /etc/csh.cshrc (is this the right file?), it seemed to be there
already.
> There was a line using setenv to set the PATH to
> /bin:/usr/bin:/usr/local/bin:/usr/X11/bin but it wasn't finding
> programs in
> /usr/local/bin. Programs run fine when i use env PATH="/usr/local/bin"
> [program name].
> So i tried running setenv, but it appears not to be anywhere on my
> computer. Neither are putenv, getenv, or environ, although the man
> pages are.
> Is it a bad thing not to have these, and if so where can i get them?
> (I'm running Red Hat 5.2 with kernel 2.2.1 on a K6200 if that's
> significant).
> 
> Thanks,
> Ben
> 
> 




___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

Reply via email to