*BSD News Article 50588


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.sprintlink.net!i-2000.com!usenet
From: freyes@i-2000.com
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: path question
Date: 2 Sep 1995 14:10:42 GMT
Organization: I-2000 Inc. - Internet Services
Lines: 19
Message-ID: <429ol2$7on@i-2000.com>
References: <423snf$ist@gol1.gol.com> <426oc4$esa@bonnie.tcd-dresden.de>
Reply-To: freyes@i-2000.com
NNTP-Posting-Host: freyes.dh.i-2000.com
X-Newsreader: IBM NewsReader/2 v1.2

In j@bonnie.heep.sax.de (J Wunsch) writes:
>MICHAEL  <michael@gnj.or.jp> wrote:
>For [t]csh: type `rehash'.
>
>For [ba]sh: type `hash -r'
>The shell remembers the location of commands, so you have to notify it
>whenever you have installed a new command.

Although in this case the user is using test1 I think it is good to mention
that test could be an internal command (or at least so it seems in bash)
so it is best to stay away from that name.

Is this questions anywhere on a FAQ? I asked the question myself (a few
weeks ago) and it seems a questions common enough to be either on a
FAQ or on a URL.

ps I just checked the UNIX faq posted in Unix.questions and did not mention
any of this. I will send a note to the maintainer.