Files
neonucleus/data/openos/usr/man/which
2026-04-01 11:04:22 +02:00

15 lines
416 B
Plaintext

NAME
which - locate a command
SYNOPSIS
which COMMAND
DESCRIPTION
This program writes the full path to each of the specified programs to the standard output. If a program is an alias, this is indicated. If a program cannot be found and error message will be written.
EXAMPLES
which ls
Displays `/bin/ls.lua`.
which doesntexist dir
Displays `doesntexist: file not found` and `dir: aliased to ls`.