From owner-freebsd-questions Sun Mar 21 18:33:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from Ngate.in.tatainfotech.com (unknown [202.54.102.148]) by hub.freebsd.org (Postfix) with ESMTP id 1D9B215161 for ; Sun, 21 Mar 1999 18:33:41 -0800 (PST) (envelope-from hardeep.parmar@tatainfotech.com) Received: from nepzmail.in.tatainfotech.com ([163.122.23.5]) by Ngate.in.tatainfotech.com (8.8.7/8.8.7) with SMTP id DAA03018; Mon, 22 Mar 1999 03:08:35 -0500 Received: from sybco046 by nepzmail.in.tatainfotech.com (8.6.10/SMI-4.1) id IAA18705; Mon, 22 Mar 1999 08:02:08 GMT Received: by sybco046 with Microsoft Mail id <01BE743A.4EE135E0@sybco046>; Mon, 22 Mar 1999 08:02:19 +0530 Message-ID: <01BE743A.4EE135E0@sybco046> From: Hardeep Parmar To: "questions@FreeBSD.ORG" , "'charon@freethought.org'" Subject: RE: commands to execute programs Date: Mon, 22 Mar 1999 08:02:18 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Actually all installaed packages are written into directory e.g = /var/db/pkg/product_name.This directory has files +CONENTS +DESC..........and so on Go to the directory do cat * |more.You will get all the relevent info = about the product the relative path in which it is installed and so on ---------- From: charon@freethought.org Sent: Saturday, March 20, 1999 4:55 AM To: questions@FreeBSD.ORG Subject: commands to execute programs Is there any way to find out what the command for a program (installed = from the ports) will be without guessing? For example, I installed Netscape = and then typed the command 'netscape' and it executed (a 'which netscape' = told me where the file was). However, I installed x-files and can't figure = out the command ('which x-files' and 'which xfiles' fail. A 'which files' finds something, but I don't know what program it is - it doesn't = identify itself when executed, and I also installed filerunner and can't find = that - 'which filerunner' comes up empty.). 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? Thanks, __________________________________________ Charon@freethought.org http://members.home.net/tuathadedanann/ "Unthinking respect for authority=20 is the greatest enemy of truth." -Albert Einstein __________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message