From owner-freebsd-questions Sun Oct 13 22:31:46 2002 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 581CC37B401 for ; Sun, 13 Oct 2002 22:31:45 -0700 (PDT) Received: from lightning.adam.com.au (lightning.adam.com.au [203.2.124.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0D19D43E8A for ; Sun, 13 Oct 2002 22:31:44 -0700 (PDT) (envelope-from lloy0076@adam.com.au) Received: (qmail 50647 invoked from network); 14 Oct 2002 05:31:39 -0000 Received: from 202-6-128-188.ip.adam.com.au (HELO adam.com.au) (202.6.128.188) by eden.adam.com.au with SMTP; 14 Oct 2002 05:31:39 -0000 Message-ID: <3DAA5A40.DEB4D2F5@adam.com.au> Date: Mon, 14 Oct 2002 15:16:40 +0930 From: David Lloyd X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.19-xfs i686) X-Accept-Language: en MIME-Version: 1.0 To: MET Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Linking applications to /usr/local/bin/ References: <200210140124.46815.met@uberstats.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew, > Why does linking an application such as java/javac to the /usr/local/bin/ > directory make the java and javac commands global? Whereas 'kmail' is not in > there, but if I type it Kmail will launch anyways. Do a "which kmail". You probably need to read about how FreeBSD (and Linux and DOS for that matter) work out where commands should be looked for if you just type "commmand_foo". Look for discussions about PATH and the PATH variables. DSL -- The Linux C Programming Lists: * http://lists.linux.org.au/listinfo/linuxcprogramming/ The Linux C++ Programming Lists: * http://lists.linux.org.au/listinfo/tuxcpprogramming/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message