From owner-freebsd-questions Thu Mar 5 01:47:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA13754 for freebsd-questions-outgoing; Thu, 5 Mar 1998 01:47:14 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from python.shoal.net.au (perrya@python.shoal.net.au [203.26.44.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA13747 for ; Thu, 5 Mar 1998 01:47:03 -0800 (PST) (envelope-from perrya@python.shoal.net.au) Received: from localhost (perrya@localhost) by python.shoal.net.au (8.8.6/8.8.5) with SMTP id TAA28462; Thu, 5 Mar 1998 19:46:18 +1000 (EST) Date: Thu, 5 Mar 1998 19:46:16 +1000 (EST) From: Andrew To: tim@v-com.com cc: freebsd-questions@FreeBSD.ORG Subject: Re: perl: scripts to commands...weird In-Reply-To: <2.2.32.19980305075844.006cffc0@v-com.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [snip] > now here's the weird stuff... > > 3. I have to move it into one of the bin directories that is in my shell > path. (I'm using csh as default) I think the others answered this satisfactorily. > 4. I have to launch another shell or log out and log back in to my current > one for it all to take effect. with csh (and tcsh) you need to type rehash to update the list of binaries/programs that the shell knows about. (This is probably not a very accurate description but it works). I think that when the shell is started it builds a list/database of the programs in the path. When you add a new program the rehash command tells the shell to rebuild the list. Andrew Perry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message