The which command locates the executable file associated with a given command by searching the PATH. It’s a simple but essential Unix utility.

Build your own Which is available with a project breakdown on Coding Challenges.