Table 2.6 lists the options that can be turned on with the set - arg command. All are initially off except where noted. Full Names, where listed, are arguments to set that can be used with set -o. The Full Names braceexpand, histexpand, history, keyword, and onecmd are not available in versions of bash prior to 2.0. Also, in those versions, hashing is switched with -d.
Table B-6. Options to set
Export all subsequently defined or modified variables.
The shell performs brace expansion. This is on by default.
Report the status of terminating background jobs immediately.
Don’t allow redirection to overwrite existing files.
Exit the shell when a simple command exits with non-zero status. A simple command is a command not part of a while, until, or if; or part of a && or || list; or a command whose return value is inverted by !.
Use emacs-style command-line editing.
|-f||noglob||Disable pathname expansion.|
Enable ! style history substitution. On by default in an interactive shell.
Enable command history. On by default in interactive shells.
|-h||hashall||Disable the hashing of commands.|
Disallow CTRL-D to exit the shell.
Place keyword arguments in the environment for a command.
Enable job control (on by default in interactive shells).
Read commands and check syntax but do not ...