which ( command -- file/f )


Vocabulary
tools.which

Inputs and outputs
commanda string
file/fthe first matching path or f


Word description
Returns the full path of the executable that would have been executed if command had been entered at the shell prompt.

Definition