Lines Matching full:shell
191 .Nd MirBSD Korn shell
213 is a command interpreter intended for both interactive and shell
217 shell language and largely compatible to the original Korn shell.
219 sometimes does take portable shell scripting or various standards
227 name to the shell; not all make sense, have been tested or work at all though.
236 Interactive shell.
237 A shell that reads commands from standard input is
243 An interactive shell has job control enabled, ignores the
264 Login shell.
265 If the basename the shell is called with (i.e. argv[0])
269 the shell is assumed to be a login shell; see
273 Privileged shell.
274 A shell is
281 Clearing the privileged option causes the shell to set
285 If the shell is privileged and this flag is not explicitly set, the
289 Restricted shell.
290 A shell is
294 The following restrictions come into effect after the shell processes any
307 .Ev SHELL ,
328 The shell reads commands from standard input; all non-option arguments
368 of a file the shell reads commands from.
370 arguments, the shell reads commands from the standard input.
371 The name of the shell (i.e. the contents of $0)
376 otherwise, the basename the shell was called with (i.e. argv[0]) is used.
378 The exit status of the shell is 127 if the command file specified on the
387 A login shell processes the system profile first.
388 A privileged shell then processes the suid profile.
389 A non-privileged login shell processes the user profile next.
390 A non-privileged interactive shell checks the value of the
397 A privileged shell then drops privileges if neither was the
401 The shell begins parsing its input by removing any backslash-newline
466 shell and must be quoted if they are to represent themselves:
517 As words and tokens are parsed, the shell builds commands, of which there
539 The command may be a shell built-in command, a function
627 the shell starts the command but does not wait for it to complete (the shell
1005 Quoting is used to prevent the shell from treating characters or words
1135 The shell expands command aliases (i.e. substitutes the alias name
1150 The following command aliases are defined automatically by the shell:
1165 Tracked aliases allow the shell to remember where it found a particular
1167 The first time the shell does a path search for a command that is
1170 time the command is executed, the shell checks the saved path to see that it
1183 the shell tracks all commands.
1206 The first step the shell takes in executing a simple-command is to perform
1234 terminates the parent shell; shell options are shared.
1303 This behavior is POSIX compliant, but incompatible with some other shell
1371 Parameters are shell variables; they can be assigned values and their values
1419 First, the shell implicitly sets some parameters like
1425 Second, parameters are imported from the shell's environment at startup.
1438 must be unquoted for the shell to recognise a parameter assignment.
1477 of commands run by the shell as
1482 When the shell starts up, it extracts parameters and their values
1528 and an error occurs (normally causing termination of a shell script, function,
1744 This is also used internally for the shell's hashtables.
1764 The following special parameters are implicitly set by the shell and cannot be
1773 The PID of the shell or, if it is a subshell, the PID of the original shell.
1789 The name of the shell, determined as follows:
1797 or else the basename the shell was invoked with (i.e.\&
1803 keyword (i.e. a Korn shell style function).
1805 The first nine positional parameters that were supplied to the shell, function,
1833 The following parameters are set and/or used by the shell:
1837 When an external command is executed by the shell, this parameter is set in the
1839 In interactive use, this parameter is also set in the parent shell to the last
1842 The PID of the shell or subshell.
1875 expanded value is used as a shell startup file.
1888 If set, this parameter is assumed to contain the shell that is to be used to
1892 .Dq Li #! Ns Ar shell
1913 Also, several invocations of the shell will share history if their
1948 This parameter is not imported from the environment when the shell is
1951 The effective group id of the shell.
1953 The real group id of the shell.
1955 The real user id of the shell.
2021 The name and version of the shell (read-only).
2028 The line number of the function or shell script that is currently being
2039 has not successfully changed directories since the shell started or if the
2040 shell doesn't know where it is.
2063 The process ID of the shell's process group leader.
2068 The process ID of the shell's parent.
2117 You can tell the shell not to count certain
2129 interpreted by the shell, to set
2176 May be unset or empty if the shell doesn't know where it is.
2190 The number of seconds since the shell started or, if the parameter has been
2194 If set to a positive integer in an interactive shell, it specifies the maximum
2195 number of seconds the shell will wait for input after printing the primary
2198 If the time is exceeded, the shell exits.
2200 The directory temporary shell files are created in.
2206 The effective user id of the shell.
2217 The Korn shell, except in POSIX mode, always expands tildes after unquoted
2294 Once brace expansion has been performed, the shell replaces file
2428 the shell.
2478 the shell copies lines from the command source into a temporary file until a
2580 substitutions, tilde substitutions, and, if the shell is interactive,
2606 File descriptors created by I/O redirections are private to the shell.
2689 depending on the shell's
2706 behaviour is undefined (usually, the shell aborts with a parse error,
2830 operator) is an asynchronous process that the shell can both write to (using
2858 In order for co-processes to share a common output, the shell must keep the
2862 (when they all exit, the shell closes its copy of the pipe).
2865 causes the shell to close its copy).
2867 different from the original Korn shell which closes its copy of the write
2881 Functions are defined using either Korn shell
2883 syntax or the Bourne/POSIX shell
2894 shell arguments (i.e. positional parameters $1, $2, etc.)\&
2896 When the shell is determining the location of a command, functions
2912 executed, the shell searches the path specified in the
2918 continued (i.e. the shell searches the regular built-in command table and
2924 (this is an undocumented feature of the original Korn shell).
2935 When a traced function is executed, the shell's
2942 Since functions are executed in the current shell environment, parameter
2965 will only exit that subshell and will not cause the original shell to exit
2981 Parameter assignments preceding function calls are not kept in the shell
2996 Shell options
3007 shell's traps and signals that are not ignored in the shell (but may be
3023 cause a non-interactive shell to exit, and parameter assignments that are
3272 For calls from shell, if any options are given, an external
3362 in the current directory, and the shell attempts to change to the new
3382 cannot be a shell function;
3384 (i.e. redirection and utility errors do not cause the shell to
3434 this utility is not portable; use the Korn shell builtin
3449 shell scripts.
3471 string which the shell then parses and executes in the current environment.
3479 The command is executed without forking, replacing the shell process.
3496 permanent and the shell is
3501 that are not built-in to the shell).
3502 Note that the Bourne shell differs here;
3506 The shell or subshell exits with the specified exit status.
3566 is used), and then executed by the shell.
3608 Used by shell procedures to parse the specified arguments (or positional
3624 is invoked, it places the next option in the shell parameter
3628 in the shell parameter
3638 places it in the shell parameter
3666 to 1 (this is done automatically whenever the shell or a shell procedure is
3669 Warning: Changing the value of the shell parameter
4045 For calls from the shell, if any options are given, an external
4083 scripts, while the original Korn shell only treats profiles as
4100 shell options, set the positional parameters, or set an array parameter.
4157 explicitly tested by a shell construct such as
4177 The shell is an interactive shell.
4178 This option can only be used when the shell is invoked.
4183 The shell is a login shell.
4184 This option can only be used when the shell is invoked.
4193 The shell is a privileged shell.
4194 It is set automatically if, when the shell starts,
4199 The shell is a restricted shell.
4200 This option can only be used when the shell is invoked.
4203 If used when the shell is invoked, commands are read from standard input.
4204 Set automatically if the shell is invoked with no arguments.
4221 shell command line; is enabled automatically for interactive shells if
4257 Write shell input to standard error as it is read.
4279 The shell will not (easily) exit when end-of-file is read;
4282 To avoid infinite loops, the shell will exit if
4293 signal when a login shell exits.
4304 In the original Korn shell, this prevents function definitions from
4317 directories (i.e. the shell handles
4340 Automatically enabled if the basename of the shell invocation begins with
4357 Automatically enabled if the basename of the shell invocation begins with
4382 In the original Korn shell, unless
4391 These options can also be used upon invocation of the shell.
4442 Stops the shell as if it had received the suspend character from
4444 It is not possible to suspend a login shell unless the parent process
4447 As a general rule, if the shell was started by another shell or via
4492 group is the shell's effective group ID.
4512 owner is the shell's effective user ID.
4575 The shell parameter
4579 Shell
4696 is given, then the user and system time used by the shell itself, and all the
4732 Print the accumulated user and system times used both by the shell
4733 and by processes that the shell started which have exited.
4761 or a string containing shell commands to be executed at the first opportunity
4775 which is executed when the shell is about to exit, and
4778 that would cause the shell to exit if the
4787 for signals that were ignored when the shell started.
4790 the shell started is shown as a series of
4798 The original Korn shell's
4897 (In the original Korn shell, this parameter meant
4944 Has no meaning to the shell; provided for application use.
4952 shell option is temporarily turned on.
4958 This option is not in the original Korn shell.
4962 (In the original Korn shell, this parameter meant
5018 The limits affect the shell and any processes created by the shell after a
5052 blocks on files written by the shell and its child processes (files of any
5234 Job control refers to the shell's ability to monitor and control jobs which
5236 At a minimum, the shell keeps track of the status of the background (i.e.\&
5300 stopped), the shell prints the following status information:
5352 When an attempt is made to exit the shell while there are jobs in the stopped
5353 state, the shell warns the user that there are stopped jobs and does not exit.
5354 If another attempt is immediately made to exit the shell, the stopped jobs are
5357 signal and the shell exits.
5361 a login shell, the shell warns the user and does not exit.
5363 is immediately made to exit the shell, the running jobs are sent a
5365 signal and the shell exits.
5375 saved before being reconfigured by the shell for the line editor, then
5419 Tilde expansion follows POSIX instead of Korn shell rules.
5499 The shell supports three modes of reading command lines from a
5513 the shell simply reads lines using the normal
5520 option is set, the shell allows emacs-like editing of the command; similarly,
5523 option is set, the shell allows vi-like editing of the command.
5546 slightly different from the emacs mode in the original Korn shell.
5551 control characters when the shell is invoked; these bindings can be changed
5807 Causes the current input line to be processed by the shell.
5810 Causes the current input line to be processed by the shell, and the next line
6006 The current line is read, parsed and executed by the shell.
6065 at the start of the current line and return the line to the shell (equivalent
6473 The current line is read, parsed and executed by the shell.
6508 Shell database.
6569 .%B "\\*(tNUNIX\\*(sP Shell Programming"
6579 .%V "Part 2: Shell and Utilities"
6587 .%B "Learning the Korn Shell"
6596 .%B "Learning the Korn Shell, Second Edition"
6612 .Nm "The MirBSD Korn Shell"
6616 This shell is based on the public domain 7th edition Bourne shell clone by
6622 and parts of the BRL shell by
6639 contributors including our users, to improve the shell is appreciated.
6683 will cause the shell to behave more conformant.
6706 outlined above, in code portable across various shell implementations:
6795 shell / command interpreter, similar to
6810 for security reasons common on Unix systems which the shell is designed for,
6822 is added during compilation; you will most likely have gotten this shell
6833 system rescue shell), use this on your real console device instead:
6840 Run the shell in POSIX mode (and possibly
6849 .Ss "My prompt from <some other shell> does not work!"
6852 Most likely, you've encountered the problem in which the shell runs
6862 in the inner loop will only exit the subshell and not the original shell.
6950 and Korn Shell syntax; use POSIX redirections instead: