[UP]


Manual Reference Pages  - _which (1)

NAME

_which(1f) - [FUNIX:FILESYSTEM] shows the full path of (shell) commands. (LICENSE:PD)

CONTENTS

Synopsis
Description
Options
Return Value
Example
Author
License

SYNOPSIS

_which program_leafname [ -all]|[ --help|--version]

DESCRIPTION

_which(1f) takes one or more pathnames. For each of its arguments it prints to stdout the full path of the executables that would have been executed when this argument had been entered at the shell prompt. It does this by searching for an executable or script in the directories listed in the environment variable PATH.

OPTIONS

--all Print all matching executables in PATH, not just the first.
--version
  Print version information on standard output then exit successfully.
--help Print usage information on standard output then exit successfully.

RETURN VALUE

Which returns the number of failed arguments, or -1 when no
programname
  was given.

EXAMPLE

AUTHOR

John S. Urban

LICENSE

Public Domain


_which (1) March 11, 2021
Generated by manServer 1.08 from 74b027c2-d12f-4973-8216-e9b71a87f77d using man macros.