Package which

Displays where a particular program in your path is located

https://savannah.gnu.org/projects/which/

The which command shows the full pathname of a specified program, if
the specified program is in your PATH.

Version: 2.21

General Commands

which shows the full path of (shell) commands.