|
NAMEcommand - run a programSYNOPSIScommand [OPTIONS] COMMANDNAME [ARGS...] DESCRIPTIONcommand forces the shell to execute the program COMMANDNAME and ignore any functions or builtins with the same name.The following options are available:
With the -s option, command treats every argument as a separate command to look up and sets the exit status to 0 if any of the specified commands were found, or 1 if no commands could be found. Additionally passing a -q or --quiet option prevents any paths from being printed, like type -q, for testing only the exit status. For basic compatibility with POSIX command, the -v flag is recognized as an alias for -s. EXAMPLEScommand ls causes fish to execute the ls program, even if an ls function exists.command -s ls returns the path to the ls program. command -q git; and command git log runs git log only if git exists. COPYRIGHT2021, fish-shell developers
Visit the GSP FreeBSD Man Page Interface. |