Lines Matching full:command
39 .Nd command interpreter (shell)
64 utility is the standard command interpreter for the system.
76 The shell is a command that reads lines from
82 command.
106 generally prompts before each command and handles programming
107 and command errors differently (as described below).
144 The first non-option argument specified on the command line
183 built-in command
197 words on the command line to be treated as arguments.
217 command line editor (disables the
222 Exit immediately if any untested command fails in non-interactive mode.
223 The exit status of a command is considered to be
224 explicitly tested if the command is part of the list used to control
229 if the command is the left
234 operator; or if the command is a pipeline preceded by the
305 command).
330 command line editor (disables
338 Write each command
349 any command in the pipeline, if any.
354 if a command such as
383 command line editor:
542 built-in command.
543 Wherever the command word of a simple command may occur,
577 because the command that defines them must be executed
581 An alias name may be escaped in a command line, so that it is not
599 simple command.
600 Otherwise, a complex command or some
603 If a simple command has been recognized, the shell performs
610 the simple command
619 and the first remaining word is considered the command
620 name and the command is located.
622 words are considered the arguments of the command.
623 If no command name resulted, then the
632 Redirections are used to change where a command reads its input
702 saved away and made available to the command on standard
711 parameter expansion, command substitution, and arithmetic
725 The command is searched for (by name) in that order.
734 the command (by placing assignments to them before the
737 Then the command given in the function definition is executed.
739 when the command completes.
752 Otherwise, if the command name does not match a function
753 or built-in command, the command is searched for as a normal
777 When locating a command, the shell first looks to see if
780 built-in command by that name.
781 If a built-in command is not found,
785 Command names containing a slash are simply executed without
791 in turn for the command.
802 .Ss Command Exit Status
803 Each command has an exit status that can influence the behavior
805 The paradigm is that a command exits
808 The man page for each command
813 If a command is terminated by a signal, its exit status is greater than 128.
817 If there is no command word,
818 the exit status is the exit status of the last command substitution executed,
819 or zero if the command does not contain any command substitutions.
823 command.
824 More generally, a command is one of the following:
827 simple command
833 compound command
838 Unless otherwise stated, the exit status of a command is
839 that of the last simple command executed by the command,
840 or zero if no simple command was executed.
846 the last command is connected to the standard input
847 of the next command.
849 command is inherited from the shell, as usual.
860 both of a command is considered to be assigned by the
862 operators that are part of the command.
866 executes each process in a pipeline with more than one command
877 exit status is the exit status of the last command specified
881 or the last non-zero exit status of any command in the pipeline otherwise.
912 If a command is terminated by the control operator ampersand
914 the shell executes the command in a subshell environment (see
917 the shell does not wait for the command to finish
918 before executing the next command.
920 The format for running a command in background is:
925 asynchronous command is set to
935 If command is followed by an ampersand, the shell starts the
936 command and immediately proceeds onto the next command;
937 otherwise it waits for the command to terminate before
945 executes the first command, and then executes the second command
946 if the exit status of the first command is zero.
948 is similar, but executes the second command if the exit
949 status of the first command is nonzero.
957 command is:
976 command is:
987 command is similar, but has the word
999 command is:
1032 command terminates the
1041 command continues with the next iteration of the innermost loop.
1046 command is:
1061 Tilde expansion, parameter expansion, command substitution,
1064 parameter expansion, command substitution and arithmetic expansion and
1076 command.
1141 .D1 Ar name Li \&( \&) Ar command
1149 .Ar command
1159 command.
1167 command is implemented as a built-in command.
1169 unless the command is not in a function or a variable name is invalid.
1203 command inside the function to be
1209 command is
1219 command is implemented as a special built-in command.
1244 command by themselves or precede a command word,
1254 .Ic command
1258 The shell sets these initially to the values of its command line
1262 built-in command can also be used to set or reset them.
1316 built-in command, or implicitly
1326 command executed from the current shell.
1328 pipeline, the process ID is that of the last command in the
1333 built-in command reports completion of the process.
1335 (zero) Expands to the name of the shell script if passed on the command line,
1497 Tilde expansions, parameter expansions, command substitutions,
1512 Tilde Expansion, Parameter Expansion, Command Substitution,
1529 character is used to introduce parameter expansion, command
1559 embedded arithmetic expansions, command substitutions, and variable
1730 .Ss Command Substitution
1731 Command substitution allows the output of a command to be substituted in
1732 place of the command name itself.
1733 Command substitution occurs when
1734 the command is enclosed as follows:
1736 .D1 Li $( Ns Ar command Ns Li )\&
1740 .D1 Li ` Ns Ar command Ns Li `
1742 The shell expands the command substitution by executing command
1743 and replacing the command substitution
1744 with the standard output of the command,
1751 The command is executed in a subshell environment,
1761 if they are the only command in a command substitution.
1763 If a command substitution of the
1787 command substitution,
1819 after parameter expansion, command substitution, and
1883 command.
1893 When command or variable substitution is performed and the dollar sign
1895 variable or the output of the command is scanned for these
1949 A null command that returns a 0 (true) exit value.
1954 command may be used to return to the
1956 command's caller.
1985 built-in command prints the names and values of all defined aliases
1997 .It Ic bind Oo Fl aeklrsv Oc Oo Ar key Oo Ar command Oc Oc
1999 This command is documented in
2006 Execute the specified built-in command,
2009 with the same name as a built-in command.
2046 command will print out the name of the directory
2085 built-in command.
2086 .It Ic command Oo Fl p Oc Op Ar utility Op Ar argument ...
2087 .It Ic command Oo Fl p Oc Fl v Ar utility
2088 .It Ic command Oo Fl p Oc Fl V Ar utility
2099 option is specified, the command search is performed using a
2148 command understands the following character escapes:
2202 Then re-parse and execute the command.
2203 .It Ic exec Op Ar command Op arg ...
2205 .Ar command
2208 (which must be a real program, not a shell built-in command or function).
2211 command are marked as permanent,
2214 command finishes.
2223 trap, the exit status of the last command before the trap is used;
2226 Otherwise, the exit status of the preceding command is used.
2242 command lists the names
2250 A null command that returns a non-zero (false) exit value.
2256 built-in command lists, or edits and re-executes,
2265 string is a command name,
2294 with each command preceded by the command number.
2296 Suppress command numbers when listing with
2308 Re-execute the command without invoking an editor.
2323 A positive number representing a command number;
2324 command numbers can be displayed with the
2329 command that was executed
2333 For example, \-1 is the immediately previous command.
2335 A string indicating the most recently entered command
2360 command.
2363 command deprecates the older
2365 command.
2381 .It Ic hash Oo Fl rv Oc Op Ar command ...
2385 command prints out the contents of this table.
2389 command removes each specified
2390 .Ar command
2401 command to delete all the entries in the hash table except for functions.
2412 The information printed includes job ID, status and command name.
2438 The built-in command may
2440 built-in command remembers what the current directory
2502 command will return an exit status as if terminated by
2538 command lists the names of all read only variables.
2552 command performs three different functions:
2574 which is equivalent to executing the command
2587 command will interpret as a request to enable or disable options.
2596 command is intended to be used in functions that
2656 command has no effect on signals that were ignored on entry to the shell.
2662 command to display a list of valid signal names.
2664 A null command that returns a 0 (true) exit value.
2668 as a command and print the resolution of the command search.
2670 shell keyword, alias, special shell builtin, shell builtin, command,
2675 the complete pathname of the command is printed.
2706 command to display all resources.
2798 .Ss Command Line Editing
2801 is being used interactively from a terminal, the current command
2802 and the command history
2809 command line editing.
2814 The command
2829 can be switched between insert mode and command mode by typing
2833 while in command mode will pass the line to the shell.
2839 command can be used to enable a subset of
2841 command line editing features.
2890 Otherwise the shell will return the exit status of the last command
2915 command, the Thompson shell, appeared in