The role of the which command is to search for the location of the system command in the path specified by the PATH variable.
Syntax format: which [parameter] [file]
Common parameters:

Example
which ffmpeg

This article is reprinted from https://xugaoxiang.com/2022/06/16/linux-cmds-58-which/
This site is for inclusion only, and the copyright belongs to the original author.