From owner-freebsd-questions@FreeBSD.ORG Tue Sep 20 08:31:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B2971065670 for ; Tue, 20 Sep 2011 08:31:13 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id B71AB8FC13 for ; Tue, 20 Sep 2011 08:31:12 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1R5vjT-0001Sg-94; Tue, 20 Sep 2011 09:31:11 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1R5vjS-0005oh-Rk; Tue, 20 Sep 2011 09:31:10 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id p8K8V9Yw066962; Tue, 20 Sep 2011 09:31:09 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id p8K8V8RG066961; Tue, 20 Sep 2011 09:31:08 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 20 Sep 2011 09:31:08 +0100 From: Anton Shterenlikht To: Thomas Mueller Message-ID: <20110920083108.GA66647@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Thomas Mueller , freebsd-questions@freebsd.org References: <20110920053708.GA2051@desmo.3rdrock.kicks-ass.net> <20110920082320.8F371106564A@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110920082320.8F371106564A@hub.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Firefox clean installation but does not execute 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: Tue, 20 Sep 2011 08:31:13 -0000 On Tue, Sep 20, 2011 at 08:23:19AM +0000, Thomas Mueller wrote: > I too had the problem of "Command not found" after freshly installing something from ports, but I thought that was a peculiarity of FreeBSD 9.0-BETA1 and 2. > > I was going to post this question to freebsd-current list. > > For instance, if I typed "which lynx", it was not found, but was found if I ran > ls /usr/bin/local/l* > and it also ran if I typed > /usr/bin/local/lynx > > Software freshly installed from ports would be normally accessible after the next reboot. normally, no reboot required. In tcsh(1) you have to run "rehash". Or just lauch another xterm window, if in an X session. Of logout and login. You really shouldn't need to reboot. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423