4.3.6. which
— locate a command#
The which
command prints the complete path to a command,
if it exists in the search path i.e., $PATH
.
For example:
which python3
Output:
/usr/bin/python3
which
— locate a command#The which
command prints the complete path to a command,
if it exists in the search path i.e., $PATH
.
For example:
which python3
Output:
/usr/bin/python3