Appendix A. Reference Lists
This appendix collects many tables of values, settings, operators, commands, variables, and more in one place for easy reference.
bash Invocation
Here are the options you can use when invoking current versions of bash. The multi-character options must appear on the command line before the single-character options. Login shells usually have the options -i
(interactive), -s
(read from standard input), and -m
(enable job control) set internally.
In addition to those listed in Table A-1, any set option can be used on the command line; see “set Options”. In particular, the -n
option is invaluable for syntax checking (see Recipe 19.12), and -x
is used for debugging (Recipe 19.13).
For further reference, see http://bit.ly/2wtEjA8.
Option | Meaning |
---|---|
|
Commands are read from |
|
A list of all double-quoted strings preceded by |
|
Makes the shell an interactive shell. Ignores signals |
|
Makes bash act as if it were invoked as a login shell. |
|
Takes the same arguments as |
|
|
Get bash Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.