which command

Category: Shell & Bash

which command

Show the full path of a command in PATH

Searches your PATH and prints the full location of a command's executable file (e.g. /usr/bin/python3).
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.