Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 1999 01:45:42 -0800
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        charon@freethought.org, questions@FreeBSD.ORG
Subject:   Re: commands to execute programs
Message-ID:  <4.1.19990320013540.00a59e80@mail-r>
In-Reply-To: <3.0.5.32.19990319152508.00980d60@mail>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<port-name>/+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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19990320013540.00a59e80>