Re: Command to find execute file

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

 




On 9 May 2003, Stephen Liu wrote:

>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
>

'type' attempts to interpret the name given as though it were a command 
and to report what type of "executable" it is.  Everything in *NIX is 
conceptually a file, but the files being referred to by 'type' are 
specifically those that are also commands.
  
When 'type' returns "file" as a type it means that the name is not a
link to an executable file, not an alias of an executable file.  It's an
ordinary executable file.

However, given your use of the word "package" you are probably better 
off following the suggestions of the later poster who suggested using 
rpm commands.

Oisin Feeley



-- 
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