CMD + K

which

Community

Shows the full path of (shell) commands

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::which

Usage Tracking

2.24
2.23
2.21
3 / 8 versions selected
Downloads (Last 6 months): 0

Description

Which takes one or more arguments. 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 using the same algorithm as bash(1).

About

Summary

Shows the full path of (shell) commands

Last Updated

May 15, 2026 at 12:25

License

GPL-3.0-only

Supported Platforms

macOS-64
macOS-arm64
linux-ppc64le
linux-aarch64
linux-64