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.

General Commands
Command Description
which shows the full path of (shell) commands.