Lines Matching full:command
9 csh \- shell command interpreter with a C-like syntax
16 \fBcsh\fR, the C shell, is a command interpreter with a syntax reminiscent of
19 command aliasing, history substitution, job control, and a number of built-in
20 commands. As with the Bourne shell, the C shell provides variable, command and
35 type and environment. (For an explanation of file interpreters, see \fBCommand
45 performs the following actions: a line of command input is read and broken into
47 parsed, as described under USAGE. Finally, the shell executes each command in
51 terminal. A noninteractive C shell can execute a command supplied as an
52 \fIargument\fR on its command line, or interpret commands from a file, also
62 Forced a "break" from option processing. Subsequent command line arguments are
85 Exits if a command terminates abnormally or yields a nonzero exit status.
104 Forced interactive. Prompts for command line input, even if the standard input
133 Reads and executes a single command line. A `\fB\e\fR\&' (backslash) can be
134 used to escape each newline for continuation of the command line onto
144 Verbose. Sets the \fBverbose\fR predefined variable. Command input is echoed
179 nonoption \fIargument\fR is taken to be the name of a command or script. It is
181 list for that command or script.
192 again, supplying the incomplete command line typed in so far.
218 described, below, under \fBVariable Substitution\fR, \fBCommand
224 .SS "Command Line Parsing"
225 A \fIsimple command\fR is composed of a sequence of words. The first word (that
226 is not part of an I/O redirection) specifies the command to be executed. A
227 simple command, or a set of simple commands separated by \fB|\fR or \fB|&\fR
229 preceding command is redirected to the standard input of the command that
239 command that can be a component in a pipeline or sequence.
246 History substitution allows you to use words from previous command lines in the
247 command line you are typing. This simplifies spelling corrections and the
248 repetition of complicated commands or arguments. Command lines are saved in the
250 The most recent command is retained in any case. A history substitution begins
252 and occurs anywhere on the command line; history substitutions do not nest. The
256 being expanded, but before any other substitutions take place or the command
259 An event designator is a reference to a command line entry in the history list.
278 Refer to the previous command. By itself, this substitution repeats the
279 previous command.
289 Refer to command line \fIn\fR.
299 Refer to the current command line minus \fIn\fR.
309 Refer to the most recent command starting with \fIstr\fR.
319 Refer to the most recent command containing \fIstr\fR.
329 Refer to the most recent command containing \fIstr\fR and append
330 \fIadditional\fR to that referenced command.
336 \fB\fB!{\fR\fIcommand\fR\fB}\fR \fIadditional\fR\fR
340 Refer to the most recent command beginning with \fIcommand\fR and append
341 \fIadditional\fR to that referenced command.
351 Repeat the previous command line replacing the string \fIprevious_word\fR with
361 To re-execute a specific previous command AND make such a substitution, say,
362 re-executing command #6,
377 command, the second \fB!\fR character can be omitted from the event
379 word of the previous command, while \fB!!$\fR and \fB!$\fR both refer to the
380 last word in the previous command. Word designators include:
387 The entire command line typed so far.
396 The first input word (command).
545 Print the new command but do not execute it.
580 previous command, or to a previous history reference on the command line (if
602 first word in each command to see if it matches the name of an existing alias.
603 If it does, the command is reprocessed with the alias definition replacing its
605 command were the previous input line. This allows history substitutions,
606 escaped with a backslash in the definition, to be replaced with actual command
628 file to which the command's standard input, standard output, or standard error
629 is redirected; this word is variable, command, and filename expanded separately
630 from the rest of the command.
648 quoted, variable and command substitutions are performed on these lines. Then,
650 \fIword\fR is not subjected to variable, filename, or command substitution, and
700 made), and backquoted strings (see Command Substitution).
714 command). With numeric operations, an empty value is considered to be zero. The
717 command input is echoed on the terminal.
719 Command and filename substitution is subsequently applied to the words that
726 space-separated words, each of which is quoted to prevent subsequent command or
785 This substitutes the name of the file from which command input is being read
860 .SS "Command and Filename Substitutions"
861 Command and filename substitutions are applied selectively to the arguments of
863 expanded. For non-built-in commands, filename expansion of the command name is
866 .SS "Command Substitution"
867 A command enclosed by backquotes (\|\fB`\fR\|.\|.\|.\|\fB`\fR\|) is performed
870 backquoted string on the current command line. Within double-quotes, only
872 However, a final newline is ignored. It is therefore possible for a command
1154 An inquiry as to the success of a command is also available:
1158 \fB\fB{\fR \fIcommand\fR\fB}\fR\fR
1161 If \fIcommand\fR runs successfully, the expression evaluates to true, 1.
1162 Otherwise, it evaluates to false, 0. \fBNote:\fR Conversely, \fIcommand\fR
1175 \fBif\fR.\|.\|.\fBthen\fR and \fBelse\fR built-in command must appear as the
1182 .SS "Command Execution"
1183 If the command is a C shell built-in command, the shell executes it directly.
1185 the command name contains a \fB/\fR, the shell takes it as a pathname, and
1186 searches for it. If the command name does not contain a \fB/\fR, the shell
1188 \fBpath\fR variable for the command. To speed the search, the shell uses its
1189 hash table (see the \fBrehash\fR built-in command) to eliminate directories
1191 or \fB-t\fR, options, or the \fBunhash\fR built-in command.
1195 prepended (without modification) to the command line. The system attempts to
1206 \fB#!\fR, the next word is taken to be the pathname of a shell (or command) to
1231 controlled by the \fBonintr\fR built-in command. Login shells catch the
1236 The shell associates a numbered \fIjob\fR with each command sequence to keep
1238 with \fBTSTP\fR signals (typically Control-z). When a command or command
1250 To see the current list of jobs, use the \fBjobs\fR built-in command. The job
1287 be a job number, or a string that uniquely specifies the command line by which
1298 Specify the job for which the command line uniquely contains \fIstring\fR.
1304 suppressed using the `\fBstty tostop\fR' command.
1311 command marks the current process; after starting a background job, type
1314 Built-in commands are executed within the C shell. If a built-in command occurs
1322 Null command. This command is interpreted, but performs no action.
1412 after all \fBcase\fR labels. Any remaining commands on the command line are
1437 command, regardless of the configuration of your \fBPATH\fR (see
1448 command(s). This is usually used to execute commands generated as the result of
1449 command or variable substitution. See \fBtset\fR(1B) for an example of how to
1456 \fB\fBexec\fR \fIcommand\fR\fR
1459 Execute \fIcommand\fR in place of the current shell, which terminates.
1496 The sequence of commands between this command and the matching \fBend\fR is
1500 The built-in command \fBcontinue\fR can be used to terminate the execution of
1501 the current iteration of the loop and the built-in command \fBbreak\fR can be
1502 used to terminate execution of the \fBforeach\fR command. When this command is
1526 The specified \fIlabel\fR is a filename and a command expanded to yield a
1530 that occurs between a \fBwhile\fR or \fBfor\fR built-in command and its
1582 \fB\fBif (\fR\fIexpr\fR \fB)\fR\fIcommand\fR\fR
1586 If the specified expression evaluates to true, the single \fIcommand\fR with
1587 arguments is executed. Variable substitution on \fIcommand\fR happens early, at
1588 the same time it does for the rest of the \fBif\fR command. \fIcommand\fR must
1589 be a simple command, not a pipeline, a command list, or a parenthesized command
1591 \fIcommand\fR is \fInot\fR executed (this is a bug).
1693 omitted, display all limits. Run the \fBsysdef\fR(8) command to display
1696 translated into decimal numbers using the \fBbc\fR(1) command.
1858 \fB\fBnice\fR [\fB+\fR\fIn\fR \||\fB-\fR\fIn\fR ] [\fIcommand\fR ]\fR
1862 Increment the process priority value for the shell or for \fIcommand\fR by
1864 and the slower it runs. When given, \fIcommand\fR is always run in a subshell,
1866 \fIcommand\fR is omitted, \fBnice\fR increments the value for the current
1894 \fB\fBnohup\fR [\fIcommand\fR ]\fR
1898 Run \fIcommand\fR with \fBHUP\fRs ignored. With no arguments, ignore \fBHUP\fRs
1899 throughout the remainder of a script. When given, \fIcommand\fR is always run
1925 shell scripts and returns to the terminal command input level). With the
1996 \fB\fBrepeat\fR \fIcount command\fR\fR
2000 Repeat \fIcommand count\fR times. \fIcommand\fR is subject to the same
2038 Values are command and filename expanded before being assigned. The form
2214 which is first command and filename expanded. The file metacharacters \fB*\fR,
2218 the \fBdefault\fR statement must appear at the beginning of a line. The command
2228 \fB\fBtime\fR [\fIcommand\fR ]\fR
2233 children. With an optional \fIcommand\fR, execute \fIcommand\fR and print a
2235 command does NOT compute the last 6 fields of output, rendering the output to
2295 command for the list of resource names.
2360 the \fBend\fR command is entered and then performs the commands in the loop.
2423 Argument list. Contains the list of command line arguments supplied to the
2525 command.
2565 Suppress the bell during command completion when asking the C shell to extend
2624 reset. If new commands are added, use the \fBrehash\fR command to update the
2658 \fB\&.cshrc\fR called by the \fBwhich\fR(1) command.
2700 The status returned by the most recent command. If that command terminated
2731 Elapsed (wallclock) time for the command.
2837 Display each command after history substitution takes place.
2961 1,048,576 bytes. However, the maximum number of arguments to a command for
2962 which filename expansion applies is 1706. Command substitutions can expand to
2967 When a command is restarted from a stop, the shell prints the directory it
2972 Shell built-in functions are not stoppable/restartable. Command sequences of
2985 It should be possible to use the \fB:\fR modifiers on the output of command
2993 substitution command.
3038 \fIcommand\fR > \fIoutfile\fR ) >& \fIerrorfile\fR
3050 command interpreter, the shell returns an erroneous diagnostic message that the
3053 As of this writing, the \fBtime\fR built-in command does \fBnot\fR compute the