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
303 command).
328 command line editor (disables
336 Write each command
347 any command in the pipeline, if any.
352 if a command such as
381 command line editor:
540 built-in command.
541 Wherever the command word of a simple command may occur,
575 because the command that defines them must be executed
579 An alias name may be escaped in a command line, so that it is not
597 simple command.
598 Otherwise, a complex command or some
601 If a simple command has been recognized, the shell performs
608 the simple command
617 and the first remaining word is considered the command
618 name and the command is located.
620 words are considered the arguments of the command.
621 If no command name resulted, then the
630 Redirections are used to change where a command reads its input
700 saved away and made available to the command on standard
709 parameter expansion, command substitution, and arithmetic
723 The command is searched for (by name) in that order.
732 the command (by placing assignments to them before the
735 Then the command given in the function definition is executed.
737 when the command completes.
750 Otherwise, if the command name does not match a function
751 or built-in command, the command is searched for as a normal
775 When locating a command, the shell first looks to see if
778 built-in command by that name.
779 If a built-in command is not found,
783 Command names containing a slash are simply executed without
789 in turn for the command.
800 .Ss Command Exit Status
801 Each command has an exit status that can influence the behavior
803 The paradigm is that a command exits
806 The man page for each command
811 If a command is terminated by a signal, its exit status is greater than 128.
815 If there is no command word,
816 the exit status is the exit status of the last command substitution executed,
817 or zero if the command does not contain any command substitutions.
821 command.
822 More generally, a command is one of the following:
825 simple command
831 compound command
836 Unless otherwise stated, the exit status of a command is
837 that of the last simple command executed by the command,
838 or zero if no simple command was executed.
844 the last command is connected to the standard input
845 of the next command.
847 command is inherited from the shell, as usual.
858 both of a command is considered to be assigned by the
860 operators that are part of the command.
864 executes each process in a pipeline with more than one command
875 exit status is the exit status of the last command specified
879 or the last non-zero exit status of any command in the pipeline otherwise.
910 If a command is terminated by the control operator ampersand
912 the shell executes the command in a subshell environment (see
915 the shell does not wait for the command to finish
916 before executing the next command.
918 The format for running a command in background is:
923 asynchronous command is set to
933 If command is followed by an ampersand, the shell starts the
934 command and immediately proceeds onto the next command;
935 otherwise it waits for the command to terminate before
943 executes the first command, and then executes the second command
944 if the exit status of the first command is zero.
946 is similar, but executes the second command if the exit
947 status of the first command is nonzero.
955 command is:
974 command is:
985 command is similar, but has the word
997 command is:
1030 command terminates the
1039 command continues with the next iteration of the innermost loop.
1044 command is:
1059 Tilde expansion, parameter expansion, command substitution,
1062 parameter expansion, command substitution and arithmetic expansion and
1074 command.
1139 .D1 Ar name Li \&( \&) Ar command
1147 .Ar command
1157 command.
1165 command is implemented as a built-in command.
1167 unless the command is not in a function or a variable name is invalid.
1201 command inside the function to be
1207 command is
1217 command is implemented as a special built-in command.
1242 command by themselves or precede a command word,
1252 .Ic command
1256 The shell sets these initially to the values of its command line
1260 built-in command can also be used to set or reset them.
1314 built-in command, or implicitly
1324 command executed from the current shell.
1326 pipeline, the process ID is that of the last command in the
1331 built-in command reports completion of the process.
1333 (zero) Expands to the name of the shell script if passed on the command line,
1495 Tilde expansions, parameter expansions, command substitutions,
1510 Tilde Expansion, Parameter Expansion, Command Substitution,
1527 character is used to introduce parameter expansion, command
1557 embedded arithmetic expansions, command substitutions, and variable
1728 .Ss Command Substitution
1729 Command substitution allows the output of a command to be substituted in
1730 place of the command name itself.
1731 Command substitution occurs when
1732 the command is enclosed as follows:
1734 .D1 Li $( Ns Ar command Ns Li )\&
1738 .D1 Li ` Ns Ar command Ns Li `
1740 The shell expands the command substitution by executing command
1741 and replacing the command substitution
1742 with the standard output of the command,
1749 The command is executed in a subshell environment,
1759 if they are the only command in a command substitution.
1761 If a command substitution of the
1785 command substitution,
1817 after parameter expansion, command substitution, and
1881 command.
1891 When command or variable substitution is performed and the dollar sign
1893 variable or the output of the command is scanned for these
1947 A null command that returns a 0 (true) exit value.
1953 command may be used to return to the
1955 command's caller.
1984 built-in command prints the names and values of all defined aliases
1996 .It Ic bind Oo Fl aeklrsv Oc Oo Ar key Oo Ar command Oc Oc
1998 This command is documented in
2005 Execute the specified built-in command,
2008 with the same name as a built-in command.
2045 command will print out the name of the directory
2084 built-in command.
2085 .It Ic command Oo Fl p Oc Op Ar utility Op Ar argument ...
2086 .It Ic command Oo Fl p Oc Fl v Ar utility
2087 .It Ic command Oo Fl p Oc Fl V Ar utility
2098 option is specified, the command search is performed using a
2147 command understands the following character escapes:
2201 Then re-parse and execute the command.
2202 .It Ic exec Op Ar command Op arg ...
2204 .Ar command
2207 (which must be a real program, not a shell built-in command or function).
2210 command are marked as permanent,
2213 command finishes.
2222 trap, the exit status of the last command before the trap is used;
2225 Otherwise, the exit status of the preceding command is used.
2241 command lists the names
2249 A null command that returns a non-zero (false) exit value.
2255 built-in command lists, or edits and re-executes,
2264 string is a command name,
2293 with each command preceded by the command number.
2295 Suppress command numbers when listing with
2307 Re-execute the command without invoking an editor.
2322 A positive number representing a command number;
2323 command numbers can be displayed with the
2328 command that was executed
2332 For example, \-1 is the immediately previous command.
2334 A string indicating the most recently entered command
2357 Parse command-line options and arguments.
2409 command deprecates the older
2411 command.
2412 .It Ic hash Oo Fl rv Oc Op Ar command ...
2416 command prints out the contents of this table.
2420 command removes each specified
2421 .Ar command
2432 command to delete all the entries in the hash table except for functions.
2443 The information printed includes job ID, status and command name.
2469 The built-in command may
2471 built-in command remembers what the current directory
2533 command will return an exit status as if terminated by
2569 command lists the names of all read only variables.
2583 command performs three different functions:
2605 which is equivalent to executing the command
2618 command will interpret as a request to enable or disable options.
2627 command is intended to be used in functions that
2687 command has no effect on signals that were ignored on entry to the shell.
2693 command to display a list of valid signal names.
2695 A null command that returns a 0 (true) exit value.
2699 as a command and print the resolution of the command search.
2701 shell keyword, alias, special shell builtin, shell builtin, command,
2706 the complete pathname of the command is printed.
2737 command to display all resources.
2829 .Ss Command Line Editing
2832 is being used interactively from a terminal, the current command
2833 and the command history
2840 command line editing.
2845 The command
2860 can be switched between insert mode and command mode by typing
2864 while in command mode will pass the line to the shell.
2870 command can be used to enable a subset of
2872 command line editing features.
2921 Otherwise the shell will return the exit status of the last command
2946 command, the Thompson shell, appeared in