Cheers Shawn,

I'll see what else I can do to narrow it down :)

Ben

On 14 Apr 2010, at 21:35, Shawn Walker wrote:

> On 04/14/10 03:03 PM, Ben wrote:
>> Hi all,
>> 
>> I'm installing some packages via a script and I want to know what the 
>> executables from the packages are called.
>> For example, The GIMP is installed using "SUNWgnome-img-editor", but is run 
>> via the command "gimp".  Similarly, OpenOffice.org is installed using 
>> "openoffice" and to run the app you use "openoffice.org3"
>> 
>> Is there any way to find out what the executable is called?  I can use trial 
>> and error and some intelligence, but a script can't so well...
>> I have so far looked at "pkg contents" and "pkg info" but neither of these 
>> are much help.
> 
> It's a bit simplistic, but for most packages, something like the following 
> should work:
> 
> $ pkg contents openoffice | grep 'usr/bin/'
> usr/bin/openoffice.org3
> usr/bin/openoffice.org3-printeradmin
> usr/bin/soffice
> 
> Cheers,
> -Shawn

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to