IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1 > which man page

which man page

Section 1 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





User Commands                                            which(1)



NAME
     which - locate a command; display its pathname or alias

SYNOPSIS
     which [filename...]

DESCRIPTION
     which takes a list of names and looks for  the  files  which
     would  be  executed  had these names been given as commands.
     Each argument is expanded if it is aliased, and searched for
     along  the user's path. Both aliases and path are taken from
     the user's .cshrc file.

FILES
     ~/.cshrc                source of aliases and path values



     /usr/bin/which


ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsu                     |
    |_____________________________|_____________________________|


SEE ALSO
     csh(1), attributes(5)

DIAGNOSTICS
     A diagnostic is given for names which are  aliased  to  more
     than  a single word, or if an executable file with the argu-
     ment name was not found in the path.

NOTES
     which is not a shell built-in command; it is the  UNIX  com-
     mand, /usr/bin/which

BUGS
     Only aliases and paths from  ~/.cshrc  are  used;  importing
     from  the current environment is not attempted. Must be exe-
     cuted by csh(1), since only csh knows about aliases.

     To compensate for ~/.cshrc files  in  which  aliases  depend
     upon the prompt variable being set, which sets this variable
     to NULL. If the ~/.cshrc  produces  output  or  prompts  for



SunOS 5.10          Last change: 26 Sep 1992                    1






User Commands                                            which(1)



     input  when  prompt  is  set, which may produce some strange
     results.





















































SunOS 5.10          Last change: 26 Sep 1992                    2





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:25:40 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

sqlite3 man page (5086 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (4749 hits)
(Solaris 10 11_06)

CPAN man page (4470 hits)
(Suse Linux 10.1)

svn man page (4257 hits)
(FreeBSD 6.2)

ssh man page (4249 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (2211 hits)
(Solaris 10 11_06)

startproc man page (2203 hits)
(Suse Linux 10.1)

netcat man page (2163 hits)
(Suse Linux 10.1)

pprosetup man page (2022 hits)
(Solaris 10 11_06)

signal man page (2011 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Lift Passes :: Prototype Electronic Assembly :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum