|GNU Bash Reference Manual|
by Chet Ramey and Brian Fox
Paperback (6"x9"), 180 pages
RRP £19.95 ($29.95)
"An essential resource .... the most detailed coverage available for all aspects of Bash" --- Linux User and Developer Magazine (Issue 37, Mar 2004) Get a printed copy>>>
5.1 Bourne Shell Variables
Bash uses certain shell variables in the same way as the Bourne shell. In some cases, Bash assigns a default value to the variable.
A colon-separated list of directories used as a search path for
The current user's home directory; the default for the
cdbuiltin command. The value of this variable is also used by tilde expansion (see section 3.5.2 Tilde Expansion).
- A list of characters that separate fields; used when the shell splits words as part of expansion.
If this parameter is set to a filename and the
MAILPATHvariable is not set, Bash informs the user of the arrival of mail in the specified file.
A colon-separated list of filenames which the shell periodically checks
for new mail.
Each list entry can specify the message that is printed when new mail
arrives in the mail file by separating the file name from the message with
When used in the text of the message,
$_expands to the name of the current mail file.
The value of the last option argument processed by the
The index of the last option argument processed by the
A colon-separated list of directories in which the shell looks for
A zero-length (null) directory name in the value of
PATHindicates the current directory. A null directory name may appear as two adjacent colons, or as an initial or trailing colon.
The primary prompt string. The default value is ‘\s-\v\$ ’.
See section 6.9 Controlling the Prompt, for the complete list of escape
sequences that are expanded before
- The secondary prompt string. The default value is ‘> ’.
|ISBN 0954161777||GNU Bash Reference Manual||See the print edition|