From owner-freebsd-questions Sat Mar 20 1:46: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from inet.chip-web.com (c1003518-a.plstn1.sfba.home.com [24.1.82.47]) by hub.freebsd.org (Postfix) with SMTP id 926A714FAD for ; Sat, 20 Mar 1999 01:46:04 -0800 (PST) (envelope-from ludwigp@bigfoot.com) Received: (qmail 10838 invoked from network); 20 Mar 1999 09:45:45 -0000 Received: from speedy.chip-web.com (HELO speedy) (172.16.1.1) by inet.chip-web.com with SMTP; 20 Mar 1999 09:45:45 -0000 Message-Id: <4.1.19990320013540.00a59e80@mail-r> X-Sender: ludwigp2@mail-r X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sat, 20 Mar 1999 01:45:42 -0800 To: charon@freethought.org, questions@FreeBSD.ORG From: Ludwig Pummer Subject: Re: commands to execute programs In-Reply-To: <3.0.5.32.19990319152508.00980d60@mail> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 03:25 PM 3/19/99 , charon@freethought.org wrote: >Is there any way to find out what the command for a program (installed from >the ports) will be without guessing? Look in /var/db/pkg//+CONTENTS for a list of files the port installed. >Also, why do some programs (like rc5des) have to be run with a full >pathname and others can be run with just the program name? Is it that the >latter type are in /usr/local/bin? Yes, it all has to do with what directories are in your path environment variable. ~/bin is usually in your path too, so you can, for example, put a symlink to rc5des in there. --Ludwig Pummer ( ludwigp@bigfoot.com ) ICQ UIN: 692441 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message