command [OPTIONS] [COMMANDNAME [ARG ...]]
command forces the shell to execute the program COMMANDNAME and ignore any functions or builtins with the same name.
In command foo, command is a keyword.
The following options are available:
Prints all COMMAND found in PATH, in the order found.
Return 0 if any of the given commands could be found, 127 otherwise. Don’t print anything. For compatibility, this is also --quiet (deprecated).
Prints the external command that would be executed, or prints nothing if no file with the specified name could be found in PATH.
Displays help about using this command.
© 2005-2009 Axel Liljencrantz, 2009-2026 fish-shell contributors
Licensed under the GNU General Public License, version 2.
https://fishshell.com/docs/4.5/cmds/command.html