| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
When the shell is running interactively, it changes its behavior in several ways.
SIGTTIN, SIGTTOU, and SIGTSTP.
PS1 before reading the first line
of a command, and expands and displays PS2 before reading the
second and subsequent lines of a multi-line command.
PROMPT_COMMAND variable as a command
before printing the primary prompt, $PS1
(see section 5.2 Bash Variables).
ignoreeof option to set -o
instead of exiting immediately when it receives an EOF on its
standard input when reading a command (see section 4.3 The Set Builtin).
$HISTFILE
when an interactive shell exits.
SIGTERM
(see section 3.7.6 Signals).
SIGINT is caught and handled
((see section 3.7.6 Signals).
SIGINT will interrupt some shell builtins.
SIGHUP to all jobs on exit
if the hupoxexit shell option has been enabled (see section 3.7.6 Signals).
MAIL, MAILPATH, and MAILCHECK shell variables
(see section 5.2 Bash Variables).
${var:?word} expansions
(see section 3.5.3 Shell Parameter Expansion).
exec will not cause the shell to exit
(see section 4.1 Bourne Shell Builtins).
cd
builtin is enabled by default (see the description of the cdspell
option to the shopt builtin in 4.2 Bash Builtin Commands).
TMOUT variable and exit
if a command is not read within the specified number of seconds after
printing $PS1 (see section 5.2 Bash Variables).
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |