command - Unix, Linux Command



NAME

command - Run command with arguments ignoring any shell function named system_command.

SYNOPSIS

command [-pVv] system_command [arguments ...]

DESCRIPTION

Only shell builtin commands or commands found by searching the PATH are executed. 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 system_command cannot be found or an error occurred, and the exit status of system_command otherwise. If either the '-V' or '-v' option is supplied, a description of system_command is printed. The '-v' option causes a single word indicating the system_command or file name used to invoke system_command to be displayed; the '-V' option produces a more verbose description. In this case, the return status is zero if system_command is found, and non-zero if not.

OPTIONS

-PUse a default path
-vVerbose
-VMore verbose

EXAMPLES

Execute the shell ls command instead of earlier defined ls function.

$ command ls
sample sample1.txt
Print
Advertisements