From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 08:23:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68FDC37B401 for ; Wed, 18 Jun 2003 08:23:14 -0700 (PDT) Received: from foem.leiden.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA3B243FDD for ; Wed, 18 Jun 2003 08:23:06 -0700 (PDT) (envelope-from dirkx@webweaving.org) Received: from foem (foem [10.11.0.2])h5IFMjTr007549 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 18 Jun 2003 17:22:45 +0200 (CEST) (envelope-from dirkx@webweaving.org) Date: Wed, 18 Jun 2003 17:22:45 +0200 (CEST) From: Dirk-Willem van Gulik X-X-Sender: dirkx@foem To: Fox In-Reply-To: <20030618151833.GD9056@fr.clara.net> Message-ID: <20030618172113.W4772-100000@foem> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Paul Hamilton cc: Freebsd-Questions Subject: Re: cmd to run after installing a new FreeBSD package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 15:23:14 -0000 On Wed, 18 Jun 2003, Fox wrote: > > There is a FreeBSD command that you should run after installing a package, > > which will 'refresh' the path. After running this command, you will have > > access to the new package command (ie. lynx). It saves you having to logout > > and relog back in. This depends on your shell. Some require the use of the command rehash csh and bash I think are guilty of this. The real shell /bin/sh is fine and will pick it up itself. >From man csh rehash Causes the internal hash table of the contents of the directories in the path variable to be recomputed. This is needed if new commands are added to directories in the path while you are logged in. This should only be necessary if you add commands to one of your own directories, or if a systems programmer changes the contents of a system direc- tory. Dw