which.md 326 B

Name

which - show the full path of commands

Synopsis

$ which [options] executable

Description

which provides the full path location of where an executable is installed.

Options

  • --help: Display help message and exit
  • --version: Print version

Examples

$ which ls
/bin/ls