which python
, find the path of the python executable filewhich -a python
, find the paths of all python executable fileswhich -s python
, do not display error messages, only return the status codewhich -v python
, display detailed information, including the search processwhich -p python
, search for paths that are the same as the PATH environment variablewhich -i python
, search for the path of the python executable file without differentiating between uppercase and lowercase letters