From owner-freebsd-questions@FreeBSD.ORG Thu Sep 15 18:24:32 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 91EF516A41F for ; Thu, 15 Sep 2005 18:24:32 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C68243D6D for ; Thu, 15 Sep 2005 18:24:23 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EFyMp-0002yV-Qz for freebsd-questions@freebsd.org; Thu, 15 Sep 2005 20:21:51 +0200 Received: from 216.113.24.250 ([216.113.24.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Sep 2005 20:21:51 +0200 Received: from ugob by 216.113.24.250 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Sep 2005 20:21:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ugo Bellavance Date: Thu, 15 Sep 2005 14:18:37 -0400 Lines: 25 Message-ID: References: <20050915175556.GB72150@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 216.113.24.250 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en In-Reply-To: <20050915175556.GB72150@dan.emsphone.com> X-Enigmail-Version: 0.92.0.0 Sender: news 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 18:24:32 -0000 Dan Nelson wrote: > 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. > Wow, so quick a response. Thanks! -- Ugo -> Please don't send a copy of your reply by e-mail. I read the list. -> Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies.