*BSD News Article 30231


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!monoceros.EECS.Berkeley.EDU!alanp
From: alanp@monoceros.EECS.Berkeley.EDU (Alan Pearson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Can't run new programs until re-login??
Date: 11 May 1994 06:40:12 GMT
Organization: University of California, Berkeley
Lines: 11
Message-ID: <2qpukc$ele@agate.berkeley.edu>
References: <2qpqm9$58m@news.tamu.edu>
NNTP-Posting-Host: monoceros.eecs.berkeley.edu

csh and tcsh (and maybe bash too) do some tricks to speed up execution of
files in your path.  I belive they keep the locations of the programs in
your path in a hash table, and use that to find the program, rather than
searching the disk.  Its faster, but then new programs that you install
aren't found until you run the internal shell command "rehash".  Try that.
It should fix it.

-- 
alan pearson

alanp@cory.eecs.berkeley.edu                                 UC Berkeley EECS