which man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

which(1)							      which(1)

NAME
       which - locate a program file including aliases and paths

SYNOPSIS
       [name...]

DESCRIPTION
       For  each  name	given, searches for the file that would be executed if
       name were given as a command, and displays the absolute	path  of  that
       file.   Each  argument  is  expanded if it is aliased, and searched for
       along the user's path.  Both aliases and path are determined by	sourcā€
       ing (executing) the user's file.

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

EXAMPLES
       The command:

       specifies  where	 the executable program of the sh(1) command is found.
       For example, the response might be:

       if the sh(1) being used is located in

WARNINGS
       reports aliases even when not invoked from csh.

       cannot find built-in commands (e.g., jobs).

       information may be incorrect because it is unaware of any path or alias
       changes that have occurred in the current shell session.

AUTHOR
       was developed by the University of California, Berkeley.

FILES
       source of aliases and path values

								      which(1)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net