Handbook
Glossary
which ( command -- file/f )
Vocabulary
tools
.
which
Inputs
command
a
string
Outputs
file/f
the 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
USING:
environment
tools.which.private
;
IN:
tools.which
:
which
( command -- file/f )
"PATH"
os-env
(which)
;