which(1) minix man page | unix.com

Man Page: which

Operating Environment: minix

Section: 1

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
which(1) - redhat
filecap(8) - centos
manpath(1) - freebsd
which(1) - suse
filecap(8) - x11r4
Similar Topics in the Unix Linux Community
Dont have a clue which program to use to process flying bat data
How to check which type of storage is used in unix?
How to connect to FTP server which requires SSL authentication?
Delete the file which crossed 2GB
GREP function in ksh which ignores LINE Breaks