From owner-freebsd-questions@FreeBSD.ORG Thu Sep 15 17:56:00 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 2D95B16A41F for ; Thu, 15 Sep 2005 17:56:00 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE91143D46 for ; Thu, 15 Sep 2005 17:55:59 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j8FHtusK049588; Thu, 15 Sep 2005 12:55:56 -0500 (CDT) (envelope-from dan) Date: Thu, 15 Sep 2005 12:55:56 -0500 From: Dan Nelson To: Ugo Bellavance Message-ID: <20050915175556.GB72150@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.10i Cc: freebsd-questions@freebsd.org Subject: Re: Command not in PATH when just installed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 17:56:00 -0000 In the last episode (Sep 15), Ugo Bellavance said: > I'm new on this list. I tried looking at the archive, but I > didn't know how to formulate my search. Here is my question: > > I install a package using pkg_add. Then I try running the command, > but it doesn't work. I logout, I login, then it works. Is this a > FAQ or a setting? Some shells cache the command list in PATH for performance. Try running "rehash" and see if the command appears. -- Dan Nelson dnelson@allantgroup.com