Bash.Builtin.Command (Bash v0.6.0)

Copy Markdown View Source

command [-pVv] command [arg ...]

Run COMMAND with ARGS ignoring shell functions.

If the -p option is given, the search for COMMAND is performed using a default value for PATH that is guaranteed to find all the standard utilities.

If the -V or -v option is given, a description of COMMAND is printed. The -v option outputs a single word; -V outputs a more verbose description.

Exit Status: Returns exit status of COMMAND, or failure if COMMAND is not found.

Reference: https://cgit.git.savannah.gnu.org/cgit/bash.git/plain/builtins/command.def?h=bash-5.3