![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Locate a program file (UNIX)
which [-afLls] program...
Neutrino
The which utility searches for the specified programs. By default, which searches the directories listed by your PATH environment variable, but if you specify the -s option, it searches the directories specified by LD_LIBRARY_PATH and _CS_LIBPATH.
Display the full pathname and long status for all versions of the ls utility found in PATH:
which -alf ls
Display the pathname for the which utility:
which which
Locate the devg-flat.so shared object:
which -s devg-flat.so
ls, whence (builtin ksh command)
![]() |
![]() |
![]() |
![]() |