*BSD News Article 30530


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!mimbres.cs.unm.edu!tesuque.cs.sandia.gov!lynx.unm.edu!jobone!newsxfer.itd.umich.edu!gatech!howland.reston.ans.net!torn!watserv2.uwaterloo.ca!undergrad.math.uwaterloo.ca!sgkruk
From: sgkruk@undergrad.math.uwaterloo.ca (Serge G. Kruk)
Subject: Re: Can't run new programs until re-login??
Message-ID: <Cpp3B4.LD8@undergrad.math.uwaterloo.ca>
Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
Organization: University of Waterloo
References: <2qpqm9$58m@news.tamu.edu>
Date: Thu, 12 May 1994 15:06:40 GMT
Lines: 17

In article <2qpqm9$58m@news.tamu.edu>, hickman@prism.tamu.edu (Dan Hickman) writes:
> I am running FreeBSD 1.1 GAMMA.  If I create a new executable file,
> either by compiling it or by creating a script, I cannot execute it
> until I re-login to my account.  Is this normal?  Is there any way
> to fix it?

	yes, after creating a new executable (new name, not only
	new version), do a 'rehash'.  This will re-read the executables
	in your paths.

	I'm assuming here that you are using csh.   If not, then
	I don't know.

	Serge