which (target)

Search $PATH for executable files matching filename(s) (POSIX, toybox)

Syntax:

which [-as] filename...

Runs on:

QNX OS

Options:

-a
Show all matches.
-s
Search for shared objects using LD_LIBRARY_PATH and _CS_LIBPATH instead of PATH.
filename
The pathname of a file to search for.

Description:

This utility is provided as part of the toybox package. For information on how to enable it, see toybox.

Contributing author:

Rob Landley and the toybox project (see https://landley.net/toybox/).

Page updated: