Date: Mon, 22 Mar 1999 08:02:18 +0530 From: Hardeep Parmar <hardeep.parmar@tatainfotech.com> To: "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>, "'charon@freethought.org'" <charon@freethought.org> Subject: RE: commands to execute programs Message-ID: <01BE743A.4EE135E0@sybco046>
next in thread | raw e-mail | index | archive | help
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
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BE743A.4EE135E0>
