Re: Command to find execute file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Oisin,

Thanks for your advice.

What I try to do is to locate where the execute file of a package
resides.  It can start the package.

type -t evolution
only show it is a file

B.Regards
Stephen

On Fri, 2003-05-09 at 14:49, Oisin Feeley wrote:
> 
> --- Iain Buchanan <iain@xxxxxxxxxxxx> wrote:
> > On Fri, 2003-05-09 at 13:11, Stephen Liu wrote:
> > > What command line will be used to find the execute
> > file of a software,
> > > e.g.
> > > 
> > > /usr/bin/evolution
> > 
> > I think this is what you're trying to do: Try
> > 'which'.  For example:
> > $ which evolution
> > /usr/bin/evolution
> > 
> > $ ls -al `which evolution`
> > -rwxr-xr-x  1 root   root     579002 Nov 13 10:17
> > /usr/bin/evolution
> > 
> 
> An alternative would be 'type evolution'.  I'm not
> sure which would be better though.  'type' is a bash
> built-in.  It seems to have the advantage that one can
> use 'type -t evolution' to find out whether evolution
> is an alias or a file.
> 
> Oisin Feeley
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> 
> 
> 
> -- 
> Psyche-list mailing list
> Psyche-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/psyche-list




-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux