osf1 man page for which

Query: which

OS: osf1

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

which(1)						      General Commands Manual							  which(1)

NAME
which - Locates a program file including aliases and paths
SYNOPSIS
which program...
DESCRIPTION
The which command takes a list of program names and looks for the files that would be executed if these names were given as commands. Each program argument is expanded if it is aliased and searched for along your path. Both the aliases and path are taken from your file. If you do not have a file, the path is the current PATH from your environment. The which command is written in csh script language and only works in the C shell. The ksh program offers the built-in commands type and whence that perform the same function as which. The sh built-in command type can also be used.
FILES
Read at beginning of execution by each shell.
DIAGNOSTICS
A diagnostic is given if an executable file with the argument name was not found in the path.
SEE ALSO
Commands: whereis(1) which(1)
Related Man Pages
which(1) - opensolaris
while(1) - sunos
which(1) - hpux
function(1) - sunos
until(1) - sunos
Similar Topics in the Unix Linux Community
How to find a date which is 7 days past when given current date
Which cut command is more efficient?
How to check which type of storage is used in unix?
Delete the file which crossed 2GB
GREP function in ksh which ignores LINE Breaks