Chapter 5: Shell Variables

79

$’\nreal\t%3lR\nuser\t%3lU\nsys\t%3lS’

If the value is null, no timing information is displayed. A trailing newline is added when the format string is displayed.

TMOUT

If set to a value greater than zero, TMOUT is treated as the default timeout for the read builtin (see Section 4.2 [Bash Builtins], page 48). The select command

(see Section 3.2.4.2 [Conditional Constructs], page 10) terminates if input does not arrive after TMOUT seconds when input is coming from a terminal.

In an interactive shell, the value is interpreted as the number of seconds to wait for a line of input after issuing the primary prompt. Bash terminates after waiting for that number of seconds if a complete line of input does not arrive.

TMPDIR

If set, Bash uses its value as the name of a directory in which Bash creates temporary files for the shell’s use.

UID

The numeric real user id of the current user. This variable is readonly.