Lines Matching full:command
49 sh, jsh \- standard and job control shell and command interpreter
69 The \fB/usr/bin/sh\fR utility is a command programming language that executes
93 A \fIsimple-command\fR is a sequence of non-blank \fIword\fRs separated by
94 \fIblank\fRs. The first \fIword\fR specifies the name of the command to be
96 arguments to the invoked command. The command name is passed as argument 0 (see
97 \fBexec\fR(2)). The \fIvalue\fR of a \fIsimple-command\fR is its exit status if
102 A \fIpipeline\fR is a sequence of one or more \fIcommand\fRs separated by
103 \fB|\fR. The standard output of each \fIcommand\fR but the last is connected by
104 a \fBpipe\fR(2) to the standard input of the next \fIcommand\fR. Each
105 \fIcommand\fR is run as a separate process. The shell waits for the last
106 \fIcommand\fR to terminate. The exit status of a \fIpipeline\fR is the exit
107 status of the last command in the \fIpipeline\fR.
125 A \fIcommand\fR is either a \fIsimple-command\fR or one of the following.
126 Unless otherwise stated, the value returned by a command is that of the last
127 \fIsimple-command\fR executed in the command.
136 Each time a \fBfor\fR command is executed, \fIname\fR is set to the next
138 \fIword\fR .\|.\|. is omitted, then the \fBfor\fR command executes the \fBdo\fR \fIlist\fR
152 A \fBcase\fR command executes the \fIlist\fR associated with the first
170 \fIlist\fR is executed, then the \fBif\fR command returns a zero exit status.
177 A \fBwhile\fR command repeatedly executes the \fBwhile\fR \fIlist\fR and, if
178 the exit status of the last command in the list is zero, executes the \fBdo\fR
180 \fIlist\fR are executed, then the \fBwhile\fR command returns a zero exit
214 of the function is a \fIcommand\fR as defined above, under \fBCommands\fR.
219 The following words are only recognized as the first word of a command and when
228 .SS "Command Substitution"
238 are removed before the command string is read. Escaping grave accents allows
239 nested command substitution. If the command substitution lies within a pair of
247 (\fB\e$\fR) are removed. Since no parameter substitution is done on the command
250 \fB"\fR, \fBnewline\fR, and \fB$\fR are left intact when the command string is
359 Flags supplied to the shell on invocation or by the \fBset\fR command.
368 The decimal value returned by the last synchronously executed command.
386 The process number of the last background command invoked.
399 The default argument (home directory) for the \fBcd\fR command, set to the
419 The search path for the \fBcd\fR command.
516 After parameter and command substitution, the results of substitution are
523 A command's input and output can be redirected using a special notation
525 \fIsimple-command\fR or can precede or follow a \fIcommand\fR and are \fBnot\fR
526 passed on as arguments to the invoked command. \fBNote:\fR Parameter and
527 command substitution occurs before \fIword\fR or \fIdigit\fR is used.
572 After parameter and command substitution is done on \fIword\fR, the shell input
580 (but after parameter and command substitution is done on \fIword\fR);
600 parameter and command substitution occurs;
675 \fIcommand\fR is composed of several \fIsimple commands\fR, redirection is
676 evaluated for the entire \fIcommand\fR before it is evaluated for each
677 \fIsimple command\fR. That is, the shell evaluates redirection for the entire
679 \fIcommand\fR within each \fIpipeline\fR, then each \fIlist\fR within each
680 \fIcommand\fR.
683 If a command is followed by \fB&\fR, the default standard input for the command
685 execution of a command contains the file descriptors of the invoking shell as
689 Before a command is executed, each command \fIword\fR is scanned for the
744 the command is executed. The pair \fB\enewline\fR is removed from a word before
745 command and parameter substitution.
755 Inside a pair of double quote marks (\fB""\fR), parameter and command
763 \fB\enewline\fR is removed before parameter and command substitution. If a
769 reading a command. If at any time a newline is typed and further input is
770 needed to complete a command, the secondary prompt (that is, the value of
780 unless the \fBexport\fR command is used to bind the shell's parameter to the
782 environment with the \fBunset\fR command. The environment seen by any executed
783 command is thus composed of any unmodified name-value pairs originally
789 The environment for any \fIsimple-command\fR can be augmented by prefixing it
794 \fBTERM=450 \fIcommand\fR\fR
805 \fB(export TERM; TERM=450; \fIcommand\fR\fR
812 are equivalent as far as the execution of \fIcommand\fR is concerned if
813 \fIcommand\fR is not a Special Command. If \fIcommand\fR is a Special Command,
818 \fBTERM=450 \fIcommand\fR\fR
829 environment, even if they occur after the command name. The following example
849 The \fBINTERRUPT\fR and \fBQUIT\fR signals for an invoked command are ignored
850 if the command is followed by \fB&\fR\&. Otherwise, signals have the values
852 see also the \fBtrap\fR command below).
855 Each time a command is executed, the command substitution, parameter
857 generation listed above are carried out. If the command name matches the name
860 sub-shell for invocation). If the command name does not match the name of a
866 of the function. If the command name matches neither a \fBSpecial Command\fR
868 made to execute the command via \fBexec\fR(2).
872 containing the command. Alternative directory names are separated by a colon
876 the path list. If the command name contains a \fB/\fR the search path is not
880 it. A parenthesized command is also executed in a sub-shell.
883 The location in the search path where a command was found is remembered by the
884 shell (to help avoid unnecessary \fIexec\fRs later). If the command was found
887 the \fBPATH\fR variable is changed or the \fBhash\fR \fB-r\fR command is
902 No effect; the command does nothing. A zero exit code is returned.
924 When Job Control is enabled, the \fBbg\fR command is added to the user's
1004 The arguments are read as input to the shell and the resulting command(s)
1015 The command specified by the arguments is executed in place of this shell
1028 by \fIn\fR. If \fIn\fR is omitted the exit status is that of the last command
1054 When Job Control is enabled, the \fBfg\fR command is added to the user's
1055 environment to manipulate jobs. This command resumes the execution of a stopped
1068 Use in shell scripts to support command syntax standards (see \fBIntro\fR(1)).
1069 This command parses positional parameters and checks for legal options. See
1080 For each \fIname\fR, the location in the search path of the command specified
1084 times a command has been invoked by the shell process. \fICost\fR is a measure
1085 of the work required to locate a command in the search path. If a command is
1087 directory, the stored location of that command is recalculated. Commands for
1100 \fB\fBjobs\fR \fB-x\fR \fIcommand\fR [\fIarguments\fR]\fR
1203 \fIn\fR is omitted, the return status is that of the last command executed.
1228 Exit immediately if a command exits with a non-zero exit status.
1256 All keyword arguments are placed in the environment for a command, not just
1257 those that precede the command name.
1275 Exit after reading and executing one command.
1379 The command \fIargument\fR is to be read and executed when the shell receives
1387 shell and by the commands it invokes. If \fIn\fR is 0, the command
1388 \fIargument\fR is executed on exit from the shell. The \fBtrap\fR command with
1399 For each \fIname\fR, indicate how it would be interpreted if used as a command
1498 Run the \fBsysdef\fR(8) command to obtain the maximum possible limits for your
1559 that command file:
1616 The remaining flags and arguments are described under the \fBset\fR command
1626 With Job Control enabled, every command or pipeline the user enters at the
1688 Specify the job for which the command line uniquely contains \fIstring\fR.
1706 Where \fIpref\fR is a unique prefix of the command name. For example, if the
1707 command \fBls\fR \fB-l\fR \fIname\fR were running in the background, it could
1746 \fB\fBjobs\fR \fB-x\fR \fBcommand\fR [\fIarguments\fR]\fR
1778 Replace any \fIjobid\fR found in \fIcommand\fR or \fIarguments\fR with the
1779 corresponding process group ID, and then execute \fIcommand\fR passing it
1793 command for processes identified with a \fIjobid\fR.
1837 the last command executed (see also the \fBexit\fR command above).
1984 using the \fBwait\fR(1) command to clean up your background processes. If this
1993 If a command is executed, and a command with the same name is installed in a
1994 directory in the search path before the directory where the original command
1995 was found, the shell continues to \fBexec\fR the original command. Use the
1996 \fBhash\fR command to correct this situation.
2011 command interpreter, the shell returns an erroneous diagnostic message that the