Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 19:26:04 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Tim McMillen <timcm@umich.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Command not found.
Message-ID:  <20001109192604.P11449@fw.wintelcom.net>
In-Reply-To: <Pine.SOL.4.10.10011092208320.2751-100000@choplifter.gpcc.itd.umich.edu>; from timcm@umich.edu on Thu, Nov 09, 2000 at 10:15:14PM -0500
References:  <Pine.SOL.4.10.10011092208320.2751-100000@choplifter.gpcc.itd.umich.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
* Tim McMillen <timcm@umich.edu> [001109 19:15] wrote:
> 
> Hi,  if anybody could answer this i would appreciate it.  When I install
> something from the ports, I can verify that the executeable is in
> /usr/local/bin  and that /usr/local/bin is in my path.  But I still get
> Command not found error.   
> 	I happened to remember that rehash fixed that and it did, but the
> manpage for rehash wasn't helpful (it sent me to builtin).  I'm using csh.
> Why do i have to run rehash to allow the command to be found even though
> it is in the correct place?  Thanks,

csh caches all the executables in your path, rehash tells it to rescan
those directories.

-Alfred


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?20001109192604.P11449>