Home
        <a name=

command

Run command with arguments ignoring any shell function named command.

SYNTAX
      command [-pVv] command [arguments ...]

OPTIONS
      -P   Use a default path
      -v   Verbose
      -V   More verbose
 

Only shell builtin commands or commands found by searching the PATH are executed. If there is a shell function named ls, running `command ls' within the function will execute the external command ls instead of calling the function recursively.

The `-p' option means to use a default value for $PATH that is guaranteed to find all of the standard utilities. The return status in this case is 127 if command cannot be found or an error occurred, and the exit status of command otherwise.

If either the `-V' or `-v' option is supplied, a description of command is printed. The `-v' option causes a single word indicating the command or file name used to invoke command to be displayed; the `-V' option produces a more verbose description. In this case, the return status is zero if command is found, and non-zero if not.

Related commands
:

builtin - Run a shell builtin
crontab - Schedule a command to run at a later time
chroot - Run a command with a different root directory
exec - Execute a command
if - Conditionally perform a command
nohup - Run a command immune to hangups
.source - Run commands from a file
su - Run a command with substitute user and group id
type - Describe a command
watch - Execute/display a program periodically