whichΒΆ

Name

which – shows the full path of (shell) commands.

Synopsis

which [option] {programname}

Description

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.