Lines Matching full:shell

43 .\" - Say .Sq the shell , not .Sq tcsh ,
46 .\" - Say .Sq shell variable / .Sq environment variable instead of
52 .\" .Sq The shell uses , not .Sq The shell will use
72 .Nd C shell with file name completion and command line editing
84 UNIX C shell,
87 shell and a shell script command processor.
119 If the first argument (argument 0) to the shell is
121 then it is a login shell.
122 A login shell can be also specified by invoking the shell with
133 further shell arguments to be treated as non-option arguments.
134 The remaining arguments will not be interpreted as shell options.
135 This may be used to pass options to a shell script without confusion
137 The shell will not run a set-user ID script without this option.
143 shell variable for reference, and executed.
146 shell variable.
148 The shell loads the directory stack from
152 whether or not it is a login shell. (+)
159 The shell exits if any invoked command terminates abnormally or
162 The shell does not load any resource or startup files, or perform any
165 The shell uses
171 The shell is interactive and prompts for its top-level input, even if
176 The shell is a login shell.
182 The shell loads
189 to the shell. (+)
191 The shell parses commands but does not execute them.
192 This aids in debugging shell scripts.
194 The shell accepts SIGQUIT (see
201 The shell reads and executes a single line of input.
209 shell variable, so that
214 shell variable, so that commands are echoed
219 shell variable even before executing
235 shell variable. (+)
248 The shell opens this file and saves its name for possible
252 version 6 or version 7 shells whose shell scripts are not compatible
253 with this shell, the shell uses such a
255 shell to execute a script
263 shell variable.
265 A login shell begins by executing commands from the system files
282 shell variable), then
288 shell variable) (+).
289 The shell may read
304 shell variable. (+)
332 shell variable (q.v.) before using
353 In the normal case, the shell begins reading commands from the terminal,
356 (Processing of arguments and the use of the shell to
358 The shell repeatedly reads a line of command input, breaks it into words,
369 via the shell's autologout mechanism (see the
371 shell variable).
372 When a login shell terminates it sets the
374 shell variable to
382 The shell may drop DTR on logout
385 shell variable.
404 the editor commands specific to the shell and their default bindings.
412 shell variable is set, which it is by default in interactive shells.
418 (unless the shell was compiled otherwise; see the
420 shell variable),
427 The shell always binds the arrow keys (as defined in the
470 as does the shell.
472 the shell variable
474 while the shell recognizes only whitespace
478 The shell is often able to complete words when given a unique abbreviation.
485 The shell completes the filename
498 shell variable can be unset to prevent this.)
539 The shell parses the input buffer to determine whether the word you want to
562 The shell lists the possible completions using the
574 shell variable is set, the shell lists the remaining
585 shell variable is set to
650 The shell variable
685 shell variable is set to
728 shell variable is set to
751 Completion and listing are affected by several other shell variables:
812 can be set to make the shell list only
817 builtin command can be used to tell the shell how
828 The shell can sometimes correct the spelling of filenames, commands and
839 shell variable can be set to
849 the shell thinks that any part of the command line is misspelled,
1011 Signals an end of file, causing the shell to exit unless the
1013 shell variable (q.v.) is set to prevent this.
1029 shell variable.
1186 shell variable.
1194 shell variable.
1213 the shell easily.
1248 shell variable can be set to
1299 shell variable.
1356 The shell splits input lines into words at blanks and tabs.
1376 When the shell's input is not a terminal, the character
1458 shell variable (q.v.) can be set to make backslashes
1469 We now describe the various transformations the shell performs on the input in
1482 shell
1486 shell variable can be set to not save duplicate events or consecutive duplicate
1495 shell variable.
1502 The shell actually saves history in expanded and literal (unexpanded) forms.
1505 shell variable is set, commands that display and store
1516 shell variables can be set to
1551 shell variable.
1987 The shell maintains a list of aliases which can be set, unset and printed by
2040 Some aliases are referred to by the shell; see
2043 The shell maintains a list of variables, each of which has as value a list of
2045 The values of shell variables can be displayed and changed with the
2071 Some variables are set by the shell or referred to by it.
2074 variable is an image of the shell's argument
2076 Some of the variables referred to by the shell are toggles;
2077 the shell does not care what their value is, only whether they are set or not.
2084 .Va Special shell variables
2085 lists all variables which are referred to by the shell.
2157 the shell input.
2173 Shell variables have names consisting of
2179 is not a shell variable, but is set in the
2283 Substitutes the (decimal) process number of the (parent) shell.
2286 background process started by this shell.
2294 It can be used to read from the keyboard in a shell script.
2321 shell, the command name is substituted separately from the argument list.
2323 in a child of the main shell.
2343 By default, the shell since version 6.12 replaces all newline and carriage
2461 shell variable.
2465 characters the shell searches for a
2507 shell variable is set a pattern (or list
2513 shell variable can be set to allow
2551 shell variable can be set to prevent filename substitution,
2571 shell variables can be set to
2575 shell variable can be examined to see the directory stack and
2604 shell variables and the
2630 (equivalent to the shell variable
2636 The next three sections describe how the shell executes commands and
2668 Builtin commands are executed within the shell.
2692 from affecting the current shell.
2694 When a command to be executed is found not to be a builtin command the shell
2699 names a directory in which the shell will look for the
2701 If the shell is not given a
2703 option, the shell
2718 If the shell was given a
2730 In the above four cases the shell concatenates each component of the path
2736 interpreter), then it is assumed to be a file containing shell commands and
2737 a new shell is spawned to read it.
2739 .Va shell
2741 to specify an interpreter other than the shell itself.
2746 the shell may be compiled to emulate it; see the
2748 shell
2750 If so, the shell checks the first line of the file to
2754 the shell starts
2771 Read the shell input up to a line which is identical to
2814 If the shell variable
2853 If the shell variable
2863 A command receives the environment in which the shell was invoked as modified
2865 Thus, unlike some previous shells, commands run from a file of shell commands
2867 original standard input of the shell.
2872 This permits shell command scripts to function as
2873 components of pipelines and allows the shell to block read its input.
2879 but the original standard input of the shell.
2890 The shell cannot presently redirect diagnostic output without also redirecting
2902 Having described how the shell accepts, parses and executes
2905 The shell contains a number of commands which can be used to regulate the
2906 flow of control in command files (shell scripts) and (in limited but
2909 shell to reread or skip in its input and, due to the implementation,
2924 If the shell's input is not seekable, the shell buffers up input whenever
2996 builtin command in shell scripts when all that is really needed is
3032 shell variable examined.
3050 Executable in the path or shell builtin, e.g.,
3252 If the shell is compiled with POSIX defined (see the
3254 shell
3262 the test will succeed in a POSIX shell but fail in a non-POSIX shell.
3269 The shell associates a
3279 , the shell prints a
3291 The shell will then normally
3297 shell variable is set, all jobs will be listed
3324 builtin command causes the shell to wait for all background
3354 There are several ways to refer to jobs in the shell.
3386 The shell maintains a notion of the current and previous jobs.
3425 The shell learns immediately whenever a process changes state.
3431 If, however, you set the shell variable
3433 , the shell will notify you immediately of changes of status in
3435 There is also a shell command
3447 When you try to leave the shell while jobs are stopped, you will be
3454 If you do this or immediately try to exit again, the shell
3460 ' of the shell.
3465 .Va Special shell variables
3472 to be executed by the shell at a given time.
3488 can be set, respectively, to execute commands when the shell wants
3497 shell variable can be set to log out or lock the shell
3502 shell variable can be set to check for new mail periodically.
3506 shell variable can be set to print the exit status
3511 shell variable can be set to ask the user, when
3518 shell variable can be set to execute the
3528 shell variables can be set to report when
3534 The shell is eight bit clean
3537 shell variable)
3540 the shell was compiled to use the system's NLS (again, see
3562 When not using the system's NLS, the shell simulates it by assuming that the
3600 The shell
3678 system on which the shell thinks it is running.
3691 shell
3692 variable indicates what options were chosen when the shell was compiled.
3700 shell variables and the system-dependent locations of
3701 the shell's input files (see
3707 The shell ignores quit signals unless started with
3711 Other signals have the values which the shell inherited from its parent.
3713 In shell scripts, the shell's handling of interrupt and terminate signals
3722 The shell exits on a hangup (see also the
3724 shell variable).
3726 default, the shell's children do too, but the shell does not send them a
3729 arranges for the shell to send a hangup to
3734 The shell uses three different sets of terminal (
3743 The shell holds some settings in each mode constant, so commands which leave
3744 the tty in a confused state do not interfere with the shell.
3745 The shell also matches changes in the speed and padding of the tty.
3762 On systems that support SIGWINCH or SIGWINDOW, the shell
3772 contains li# and co# fields, the shell adjusts
3780 .Va Special shell variables
3799 The first form prints the values of all shell variables.
4118 Available only if the shell was so compiled;
4121 shell variable.
4137 is given, changes the shell's working directory
4172 is a shell variable whose value
4203 shell variables.
4284 is a numeric range, with the same syntax used to index shell
4320 Shell variables
4364 shell variable is ignored.
4481 with shell variables.
4777 .Fl L\fR, the shell sources
4822 to the shell's standard
4826 shell variable may be set to emulate (or not) the flags and escape
4853 from a shell script less verbose on slow terminals, or limit command
4861 One should use double quotes when setting a shell variable to a terminal
4901 shell and executes the resulting command(s) in the context
4902 of the current shell.
4913 Executes the specified command in place of the current shell.
4918 The shell exits either with the value of the specified
5010 programs which wish to use the shell to filename expand a list of words.
5017 The shell rewinds its
5079 shell variable is set to a
5098 will be serialized with other shell sessions that would possibly like
5102 .Fl L\fR, the shell appends
5162 signal and arranges for the shell to send it a hangup signal when the shell
5166 Without an argument, causes the non-interactive shell only to
5459 shell variable and reports on each user indicated
5467 Terminates a login shell, replacing it with an instance of
5474 Terminates a login shell.
5512 shell variable is set, symbolic links are identified
5533 shell variable is set to
5575 shell variable and the
5601 Migrating the shell
5602 itself can cause unexpected behavior, because the shell
5616 Available only if the shell was so compiled;
5619 shell variable.
5626 Sets the scheduling priority for the shell to
5645 executed in a sub-shell, and the restrictions placed on
5660 Without an argument, causes the non-interactive shell only to
5671 Causes the shell to notify the user asynchronously when the status of any
5690 shell variable.
5696 Controls the action of the shell on interrupts.
5698 restores the default action of the shell on interrupts,
5699 which is to terminate shell scripts or to return to the
5706 , causes the shell to execute a
5713 is ignored if the shell is running detached and in system
5740 shell variable can be set to
5829 shell variable can be set to
5850 shell variable is not set and new
5907 shell variable may be set to define the format in which
5918 causes the shell to echo
5947 A command which comes due while the shell
5961 the shell, it has access to shell variables and other structures.
6002 The first form of the command prints the value of all shell variables.
6032 The sixth form lists only the names of all shell variables that are read-only.
6095 Tells the shell to believe that the terminal capability
6120 the shell does not allow to change.
6167 mode on or off, both when the shell is executing commands.
6204 The shell reads and executes commands from
6214 if they are nested too deeply the shell may run out of file descriptors.
6251 Causes the shell to stop in its tracks, much as if it had
6337 If necessary, an extra shell is created to print the time statistic when
6341 , prints a time summary for the current shell and its
6459 The shell waits for all background jobs.
6460 If the shell is interactive, an
6461 interrupt will disrupt the wait and cause the shell to print the names and job
6475 Available only if the shell was so compiled;
6478 shell variable.
6492 Displays the command that will be executed by the shell after substitutions,
6539 Runs when the shell wants to ring the terminal bell.
6554 then the shell will change the title of the running
6647 (1) runs just before the shell prompts for each command.
6665 .B shell
6674 .Ss "Special shell variables"
6675 The variables described in this section have special meaning to the shell.
6677 The shell sets
6694 .Va shell ,
6705 The shell updates
6716 The shell synchronizes
6724 whenever the environment variable changes the shell changes the corresponding
6725 shell variable to match (unless the shell variable is read-only) and vice
6732 are not synchronized in this manner, and that the shell automatically
6762 The arguments to the shell.
6800 When the shell automatically logs out, it prints
6808 When the shell automatically locks, the user is required to enter his password
6814 in login and superuser shells, but not if the shell thinks it is running
6818 the tty is a pseudo-tty (pty) or the shell was not so compiled (see the
6820 shell variable).
6829 shell variables.
6898 If set, the command which was passed to the shell with the
6903 If set, the shell will evaluate expressions right to left, like the original
6928 If set to a list of commands, the shell will continue the listed
6932 Same as continue, but the shell will execute:
6960 shell variables.
7011 shell variables.
7016 shell variable.
7173 shell variable) indicate skipped directories with an ellipsis (`...')
7351 `^D' on an empty line) causes the shell to print `Use "exit" to leave
7353 This prevents the shell from accidentally
7359 , the shell
7369 is used, i.e., the shell exits on a
7374 If set, the shell treats a directory name typed as a command as though
7381 is inhibited in non-interactive shell scripts, or for command strings
7416 , the shell will only
7495 Set by the shell if it is a login shell.
7497 within a shell has no effect.
7502 Set by the shell to
7509 if the shell was killed by a hangup
7515 shell variable.
7521 passed since the last check, the shell checks each file and says `You
7533 If you are in a login shell, then no mail file is reported unless it has
7534 been modified after the time the shell has started up, to prevent
7541 is a directory, the shell will count each
7558 Under very rare circumstances, the shell may report
7610 This is most useful in shell scripts which do not deal
7615 If set and the shell supports Kanji (see the
7617 shell variable),
7646 If set, the shell announces job completions asynchronously.
7664 shell variables.
7683 is set by the shell at startup from the
7691 The shell may put
7698 shell variable.
7699 A shell which is given neither the
7712 while the shell
7715 for the shell to find it.
7718 If set and an interactive program exits with a non-zero status, the shell
7743 happens only if the shell has already used
7770 shell variable is set, skipped components
7812 shell variable).
7824 shell variable).
7882 The shell's tty.
7888 Expands the shell or environment variable name immediately after the
7894 shell variable)
7940 shell variable.
7943 superuser shell.
8010 shell variable is replaced with the first character for
8058 If set, the shell does
8065 If set, the shell does
8087 `lock', the history file update will be serialized with other shell sessions
8103 .B shell
8104 The file in which the shell resides.
8112 (system-dependent) home of the shell.
8166 , the shell tries to construct a current directory
8179 , the shell tries to fix symbolic links by actually expanding
8287 The version number of the shell in the format
8443 It contains the shell's version number (see
8460 The shell is eight bit clean; default
8463 The shell is not eight bit clean
8466 The shell is multibyte encoding clean (like UTF-8)
8519 shell variable is set
8529 convention is emulated when executing shell scripts
8537 The shell attempts to set the
8542 The shell verifies your password with the kerberos server if local
8546 shell variable or the
8637 shell variable controls the format of
8714 shell variable.
8725 If set, the shell does not set
8736 shell variable is unset.
8744 shell variable.
8749 shell variable.
8752 Initialized to the name of the machine on which the shell
8758 Initialized to the type of machine on which the shell
9013 shell variable, but in a different format.
9018 shell variable, but not synchronized to it;
9023 the shell is able to determine it.
9024 Set only if the shell was so compiled;
9027 shell variable.
9032 shell variable.
9041 shell variable.
9051 shell variable.
9063 shell variable is unset.
9071 Read first by every shell.
9104 Read by every shell after
9109 Read by every shell, if
9140 The shell may be compiled to read
9148 shell variable.
9183 Used to interpret shell scripts not starting with a
9196 The order in which startup files are read may differ if the shell was so
9201 shell variable.
9249 command and its associated shell variables,
9269 shell variable.
9281 shell variables, the description of
9290 shell variables and
9322 shell variable)
9345 New variables that make useful information easily available to the shell.
9362 shell variables and the
9390 When a suspended command is restarted, the shell prints the directory
9395 Shell builtin functions are not stoppable/restartable.
9403 , the shell will then immediately execute
9416 Alias substitution is most often used to clumsily simulate shell procedures;
9417 shell procedures should be provided rather than aliases.
9523 To detect looping, the shell restricts the number of
9531 termio(7), Introduction to the C Shell