Query: command
OS: hpux
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
command(1) General Commands Manual command(1)NAMEcommand - execute a simple commandSYNOPSIScommand_name [argument ...]DESCRIPTIONenables the shell to treat the arguments as a simple command, suppressing the shell function lookup. If command_name is not the name of the function, the effect of is the same as omitting command. Operands recognizes the following operands: command_name The name of a HP-UX command or a shell built-in command. argument One or more strings to be interpreted as arguments to command_name. The command is necessary to allow functions that have the same name as a command to call the command (instead of a recursive call to the function). Nothing in the description of is intended to imply that the command line is parsed any differently than any other simple command. For example, is not parsed in any special way that causes or to be treated other than a pipe operator or semicolon or that prevents function lookup on b or c.EXTERNAL INFLUENCESEnvironment Variables determines the search path used during the command search.RETURN VALUEexits with one of the following values: o If fails: 126 The utility specified by the command_name is found but not executable. 127 An error occurred in the utility or the utility specified by command_name is not found. o If does not fail: The exit status of is the same as that of the simple command specified by the arguments: command_name[argument ...]EXAMPLESCreate a version of the command that always prints the name of the new working directory whenever it is used: cd() { command "$@" >/dev/null pwd } Circumvent the redefined command above, and change directories without printing the name of the new working directory:SEE ALSOgetconf(1), sh-posix(1), confstr(3C).STANDARDS CONFORMANCEcommand(1)
Related Man Pages |
---|
db_show_all_command(9) - debian |
db_command(9) - debian |
db_show_command(9) - debian |
command(1) - hpux |
command(1) - php |
Similar Topics in the Unix Linux Community |
---|
Is a simple one command to find a file? |
Modifying simple commands to create a script |
How I can replace this command --need help |
ls command not working |
Help with simple grep command |