Up Next Previous

ENVIRONMENT

AFSUSER (+)
Equivalent to the afsuser shell variable.

COLUMNS
The number of columns in the terminal. See Terminal management.

DISPLAY
Used by X Window System (see X(1)). If set, the shell does not set autologout (q.v.).

EDITOR
The pathname to a default editor. See also the VISUAL environment variable and the run-fg-editor editor command.

GROUP (+)
Equivalent to the group shell variable.

HOME
Equivalent to the home shell variable.

HOST (+)
Initialized to the name of the machine on which the shell is running, as determined by the gethostname(2) system call.

HOSTTYPE (+)
Initialized to the type of machine on which the shell is running, as determined at compile time. This variable is obsolete and will be removed in a future version.

HPATH (+)
A colon-separated list of directories in which the run-help editor command looks for command documentation.

LANG
Gives the preferred character environment. See Native Language System support.

LC_CTYPE
If set, only ctype character handling is changed. See Native Language System support.

LINES
The number of lines in the terminal. See Terminal management.

MACHTYPE (+)
The machine type (microprocessor class or machine model), as determined at compile time.

NOREBIND (+)
If set, printable characters are not rebound to self-insert-command. See Native Language System support.

OSTYPE (+)
The operating system, as determined at compile time.

PATH
A colon-separated list of directories in which to look for executables. Equivalent to the path shell variable, but in a different format.

PWD (+)
Equivalent to the cwd shell variable, but not synchronized to it; updated only after an actual directory change.

REMOTEHOST (+)
The host from which the user has logged in remotely, if this is the case and the shell is able to determine it. Set only if the shell was so compiled; see the version shell variable.

SHLVL (+)
Equivalent to the shlvl shell variable.

SYSTYPE (+)
The current system type. (Domain/OS only)

TERM
Equivalent to the term shell variable.

TERMCAP
The terminal capability string. See Terminal management.

USER
Equivalent to the user shell variable.

VENDOR (+)
The vendor, as determined at compile time.

VISUAL
The pathname to a default full-screen editor. See also the EDITOR environment variable and the run-fg-editor editor command.

Up Next Previous