From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 16:36:38 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 EFA3737B401 for ; Wed, 18 Jun 2003 16:36:38 -0700 (PDT) Received: from cwe.compwest.com.au (compwest.com.au [202.72.147.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50FFE43FA3 for ; Wed, 18 Jun 2003 16:36:37 -0700 (PDT) (envelope-from paul@bdug.org.au) Received: from ant.bdug.org.au (ant.parkview.compwest.com.au [202.72.147.43]) by cwe.compwest.com.au (8.12.6/8.11.6) with ESMTP id h5INaX9s078916 for ; Thu, 19 Jun 2003 07:36:34 +0800 (WST) (envelope-from paul@bdug.org.au) Received: from wks (wks.bdug.org.au [192.168.0.2]) by ant.bdug.org.au (8.12.9/8.12.6) with SMTP id h5INaQQj007882 for ; Thu, 19 Jun 2003 07:36:28 +0800 (WST) (envelope-from paul@bdug.org.au) From: "Paul Hamilton" Cc: "Freebsd-Questions" Date: Thu, 19 Jun 2003 07:36:21 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-reply-to: <20030618172113.W4772-100000@foem> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal 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 23:36:39 -0000 Thanks Dirk-Willem and Markie, That was the command I was after. Thanks for that! Cheers, Paul Hamilton -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Dirk-Willem van Gulik Sent: Wednesday, 18 June 2003 11:23 PM To: Fox Cc: Paul Hamilton; Freebsd-Questions Subject: Re: cmd to run after installing a new FreeBSD package 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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"