minix man page for which

Query: which

OS: minix

Section: 1

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

WHICH(1)						      General Commands Manual							  WHICH(1)

NAME
which - examine $PATH to see which file will be executed
SYNOPSIS
which name
EXAMPLES
which a.out # Tells which a.out will be executed
DESCRIPTION
The $PATH shell variable controls the MINIX search rules. If a command a.out is given, the shell first tries to find an executable file in the working directory. If that fails, it looks in various system directories, such as /bin and /usr/bin. The which command makes the same search and gives the absolute path of the program that will be chosen, followed by other occurrences of the file name along the path.
SEE ALSO
man(1). WHICH(1)
Related Man Pages
whereis(1) - osf1
shtool-path(1) - linux
shtool-path(1) - debian
which(1) - suse
shells(4) - 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?
Which shell can I use on Linux?
Remove duplicate lines which has been repeated 4 times