Lines Matching full:command
12 .Nd Korn Shell, a standard and restricted command and programming language
30 is a command and programming language that executes commands read
33 is a restricted version of the command interpreter
75 .Sy command
77 The shell reads each command and carries out the desired action either directly
79 A built-in command is a command that is carried out by the shell itself without
91 .Sy simple-command
101 The first word specifies the name of the command to be executed.
103 arguments to the invoked command.
104 The command name is passed as argument 0.
109 of a simple-command is its exit status.
128 The standard output of each command but the last is connected by a
130 to the standard input of the next command.
131 Each command, except possibly the last, is run as a separate process.
132 The shell waits for the last command to terminate.
133 The exit status of a pipeline is the exit status of the last command unless the
141 if the exit status of the last command is
145 if the exit status of the last command is
215 instead of a semicolon, to delimit a command.
222 that is a simple command not beginning with a redirection, and not occurring
237 .Sy command
238 is either a simple-command or one of commands in the following list.
239 Unless otherwise stated, the value returned by a command is that of the
240 last simple-command executed in the command.
251 command is executed,
264 command executes the
308 command prints on standard error (file descriptor 2) the set of
362 command executes the
430 command returns a
439 command repeatedly executes the while
441 and, if the exit status of the last command in the list is zero, executes the
450 command returns a
476 inserted to avoid evaluation as an arithmetic command as described in this
536 special built-in command to get the equivalent behavior as if the
575 first word of a command and are not quoted:
584 One or more variable assignments can start a simple command or can be arguments
698 The first word of each command is replaced by the text of an alias if an alias
702 command substitution characters, the characters
710 The first word of each command in the replaced text, other than any that are in
721 command and can be removed with the
723 command.
728 definition command has to be executed before the command which references the
734 command='command '
745 redirect='command exec'
746 source='command .'
803 .Ss "Command Substitution"
804 The standard output from a command enclosed in parentheses preceded by a dollar
826 special quoting characters before the command is executed.
830 The command substitution
835 The command substitution
839 Except for the second form, the command list is run in a subshell so that no
851 Each command argument of the form
859 The name of this file becomes the argument to the command.
888 The file, which is passed as an argument to the command, is a UNIX
925 special built-in command.
928 special built-in command.
989 special built-in command apply to all elements of the array.
1016 command becomes the variable that is referenced whenever the
1042 function, the command
1066 special built-in command.
1412 command.
1414 The decimal value returned by the last executed command.
1422 It is subsequently assigned the last argument of the previous command.
1429 The process id or the pool name and job number of the last background command
1432 built-in command.
1440 .It Sy \&.sh.command
1443 trap, this variable contains the current command line that is about to run.
1482 The pathname of the file than contains the current command.
1513 The current depth for sub-shells and command substitution.
1531 command.
1535 built-in command.
1539 built-in command.
1545 command.
1561 built-in command when no arguments are supplied.
1580 command.
1594 command in the
1598 Performs parameter expansion, command substitution, and arithmetic substitution
1614 command.
1628 function or command when a function with the
1630 attribute is referenced and when a command is not found.
1631 If an executable file with the name of that command is found, then it is read
1642 The number of the current command in the history file.
1646 command.
1649 the file that is used to store the command history.
1651 .Sx Command Re-entry
1662 command.
1671 separate the results of command substitution or parameter expansion and to
1672 separate fields with the built-in command read.
1782 The message undergoes parameter expansion, command substitution, and arithmetic
1803 The value of this variable is expanded for parameter expansion, command
1809 in the primary prompt string is replaced by the command number.
1816 .Sx Command Re-entry
1834 The value of this variable is expanded for parameter evaluation, command
1936 built-in command.
1939 compound command terminates after
1973 After parameter expansion and command substitution, the results of
1981 command substitutions with no output, are removed.
2404 command.
2415 command.
2501 parameter and command substitution occur and
2523 However, when used as a command argument,
2552 The recognition of function names or built-in command names cannot be altered
2556 evaluate an arithmetic command, to evaluate an indexed array subscript, and to
2562 command
2657 special built-in command.
2687 special built-in command.
2706 after expanding it for parameter expansion, command substitution, and
2707 arithmetic substitution, before reading a command.
2710 in the prompt is replaced by the command number.
2717 command, then the secondary prompt, that is, the value of
2725 compound command to test attributes of files and to compare strings.
3012 Before a command is executed, its input and output can be redirected using a
3015 a simple command or can precede or follow a command and are
3017 passed on to the invoked command.
3018 Command substitution, parameter expansion, and arithmetic substitution occur
3070 If the command completes successfully rename it to word, otherwise, delete the
3089 No parameter substitution, command substitution, arithmetic substitution or
3099 Otherwise, parameter expansion, command substitution, and arithmetic
3129 command substitution, and arithmetic substitution occur.
3235 If a command is followed by
3237 and job control is not active, the default standard input for the command is
3240 Otherwise, the environment for the execution of a command contains the file
3265 The environment seen by any executed command is thus composed of any name-value
3272 The environment for any simple-command or function can be augmented by
3292 even if they occur after the command name.
3340 special built-in command used within a function defines local variables whose
3357 The special built-in command
3367 special built-in command.
3374 special built-in command.
3456 is equivalent to the command substitution
3463 command that modify variables or create new ones, create a new variable whose
3472 Similarly, a function defined by a command in the
3481 command contains a
3483 command, the names of variables and functions that are created consist
3501 built-in command described below, or by using the
3505 built-in command.
3522 When a type is defined a special built-in command of that name is added.
3587 command with
3594 command is turned on, an interactive shell associates a job with each pipeline.
3597 command, and assigns them small integer numbers.
3616 command, or run some other commands and then eventually bring the job back into
3617 the foreground with the foreground command
3624 disabled by giving the command
3650 Any job whose command line begins with
3653 Any job whose command line contains
3673 command causes the shell to print these job change messages as soon as they
3688 command to see what they are.
3697 built-in command.
3703 signals for an invoked command are ignored if the command is followed by
3711 built-in command.
3713 Each time a command is read, the substitutions are carried out.
3714 If the command name matches one of the ones in the
3717 Next, the command name is checked to see if it matches a user defined function.
3728 The exit value of a function is the value of the last command executed.
3729 If a command name is not a special built-in command or a user defined function,
3737 define the search path for the directory containing the command.
3748 If the command name contains a slash
3758 variable and contains a file whose name matches the command being searched,
3762 command except that only preset aliases are expanded, and a function of the
3767 the shell first determines whether there is a built-in version of a command
3800 of a command by this name.
3813 If the shell command file doesn't have read permission, and/or if the
3818 set up the permissions and execute the shell with the shell command file passed
3839 specified command.
3840 A parenthesized command is executed in a sub-shell without removing
3842 .Ss "Command Re-entry"
3855 The built-in command
3859 giving the first character or characters of the command.
3860 A single command or range of commands can be specified.
3882 is used to skip the editing phase and to re-execute the command.
3885 can be used to modify the command before execution.
3893 command which starts with the letter
3900 Normally, each command line entered from a terminal device is simply typed
3907 option is active, the user can edit the command line.
3963 These operations are called command name listing and file name listing,
3965 There are additional operations, referred to as command name completion and
3975 For command name completion, only the portion of the file names after the last
3977 are used to find the longest command prefix.
3979 command name followed by a space.
4105 command, and is usually
4113 command, or is
4130 (DEL, the default), this command does not work.
4159 command, usually a
4192 Fetch the previous command.
4195 is entered the previous command back in time is accessed.
4196 Moves back one line when it is not on the first line of a multi-line command.
4206 Fetch the next command line.
4209 is entered the next command line forward in time is accessed.
4214 Reverse search history for a previous command line containing
4225 is omitted, then the next command line containing the most recent
4236 The digits are taken as a parameter to the next command.
4277 The last word of the previous command is inserted on the line.
4288 Command or file name completion as described in this manual page.
4290 Attempts command or file name completion as described in this manual page.
4299 the value of the numeric parameter from the most recently generated command or
4303 Multiply parameter of next command by
4309 characters can be entered in a command line or in a search string if preceded
4335 Initially, when you enter a command you are in the input mode.
4341 prior to the command.
4344 the command is echoed again if the speed is 1200 baud or greater and it
4348 command and the user can then modify the command line.
4365 command, usually
4393 Attempts command or file name completion as described in this manual page and
4449 times the last single character find command:
4456 Reverse the last single character find command
4483 The search edit commands access your command history.
4488 Fetch the previous command.
4491 is entered, the previous command back in time is accessed.
4493 Fetch the previous command.
4496 is entered, the previous command back in time is accessed.
4500 Fetch the previous command.
4503 is entered, the previous command back in time is accessed.
4507 Fetch the next command.
4510 is entered, the next command forward
4513 Fetch the next command.
4516 is entered, the next command forward in time is accessed.
4520 Fetch the next command.
4523 is entered, the next command forward in time is accessed.
4527 Fetch command number
4529 The default is the least recent history command.
4531 Search backward through history for a previous command containing
4543 Search forward through history for a previous command containing
4653 Repeat the previous text modification command.
4664 word of the previous command to be appended and input mode entered.
4678 Command or file name completion as described in this manual page.
4701 Undo the last text modifying command.
4707 Return the command:
4718 This command only works in control mode.
4729 If the first character of the command is a
4739 in front of each line in the command.
4741 This is command is useful for causing the current line to be inserted in the
4753 item from the most recently generated command or file list.
4796 Variable assignment lists preceding the command remain in effect when the
4797 command completes.
4805 Words following a command preceded by
4816 The command only expands parameters.
4836 command and the original positional parameters are restored upon completion.
4838 The exit status is the exit status of the last command executed.
4883 This command is only on systems that support job control.
4939 for the built-in command
4965 command.
4974 This command has two forms.
5033 on the command line determines which method is used.
5036 command cannot be executed by
5039 .It Ic command Oo Fl pvVx Oc Ar name Op Ar arg No ...
5061 .Sy redirect='command exec'
5066 option, if command execution would result in a failure because there are too
5069 the shell invokes command
5080 .Ic command
5083 command described in this section.
5087 .Ic command
5134 Creates a declaration command named type that is an integer type that allows
5151 is specified, the command specified by the arguments is executed in place of
5169 is not specified, the effect of this command is to modify file descriptors as
5181 is omitted, then the exit status is that of the last command executed.
5196 command is the same as
5217 This command is only on systems that support job control.
5339 .It Ic hist Fl s Oo Ar old Ns Sy = Ns Ar new Oc Oo Ar command Oc
5352 A string is used to locate the most recent command starting with the
5354 A negative number is used as an offset to the current command number.
5372 When editing is complete, the edited command(s) is executed if the changes have
5380 is not specified, the default is the previous command for editing and
5387 suppresses command numbers when listing.
5389 .Ar command
5392 described in this section and defaults to the last command executed.
5393 The resulting command is executed after the optional substitution
5699 command.
5767 on the command line determines which method is used.
5854 option is present, the input is saved as a command in the history file.
5862 special built-in command.
5915 is omitted, then the return status is that of the last command executed.
5928 command supports the following options:
5965 command, or the command following an
5970 command or in the pipeline following
5972 if a command has a non-zero exit status, execute the
5987 Each command becomes a tracked alias when first encountered.
5990 All variable assignment arguments are placed in the environment for a command,
5991 not just those that precede the command name.
6024 style inline editor for command entry.
6034 style inline editor for command entry.
6037 The command
6046 command allows octal constants starting with
6079 command to fail or zero if no command has failed.
6141 Exit after reading and executing one command.
6245 is executed whenever a command has a
6254 is executed before each command.
6256 .Sy \&.sh.command
6257 contains the contents of the current command line when
6269 syntax, then the command
6278 for a trap set outside any function then the command
6295 command with no arguments prints a list of commands associated with each signal
6844 The exit status from this command is that of the last process waited for if
6855 indicate how it would be interpreted if used as a command name.
6889 and then from the file named by performing parameter expansion, command
6917 is processed as if it named a built-in command or function.
6984 command.
7013 Specifying path or command names containing
7030 .Ic command Fl p
7031 to invoke a command.
7040 When a command to be executed is found to be a shell procedure,
7099 .It Em exit-status-of-last-command-executed
7100 Returns the exit status of the last command executed.
7102 Run time errors detected by the shell are reported by printing the command or
7107 after the command or function name.
7111 command for additional details.
7163 .%B The New KornShell Command and Programming Language
7179 If a command is executed, and then a command with the same name is installed in
7180 a directory in the search path before the directory where the original command
7183 the original command.
7186 option of the alias command to correct this situation.
7195 built-in command within a compound command causes the whole command to
7198 The built-in command