Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2001 16:47:21 -0700
From:      Patrick Calkins <pcalkins@oemsupport.com>
To:        'Matthew Emmerton' <matt@gsicomp.on.ca>, "Freebsd-Questions (E-mail)" <freebsd-questions@freebsd.org>
Subject:   RE: Path environment var
Message-ID:  <9B9CB6555E6BA049BC2B857E7711C24F0239AE@puke.reno.oemsupport.com>

next in thread | raw e-mail | index | archive | help

> I have been wrestling with this for months - I install a new program, it
> copies its exec's into /bin /sbin /usr/local/bin, etc all just fine. But I
> can't run them without explicitly calling them /usr/local/bin/whatever
even
> though those are in the path. Do I need to re-fresh the path, so it sees
> them again?? I am using the default shell on FreeBSD 4.2

If you're using csh (which I think is the default shell), you need to issue
a 'rehash'  command to rebuild csh's cache of files available in the PATH.

--
Matt Emmerton

Ok, 'rehash' does sound VERY familiar! I do thank you very much for easing
this troubling pain!! :o)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9B9CB6555E6BA049BC2B857E7711C24F0239AE>