HP-UX Reference (11i v2 03/08) - 1 User Commands N-Z (vol 2)

s
sh-posix(1) sh-posix(1)
current environment.
HISTFILE If this parameter is set when the shell is invoked, its value is the path name of the file
that is used to store the command history. The default value is
$HOME/.sh_history
.
If the user is a superuser and no
HISTFILE is given, then no history file is used. See the
Command Reentry subsection and the WARNINGS section.
HISTSIZE If this parameter is set when the shell is invoked, the number of previously entered com-
mands accessible to this shell will be greater than or equal to this number. The default is
128.
HOME The default argument (home directory) for the
cd command.
IFS Internal field separators, normally space, tab, and newline, that are used to separate
command words resulting from command or parameter substitution and for separating
words with the special command read. The first character of the
IFS parameter is used
to separate arguments for the
$* substitution (see the Quoting subsection). If the value
of
IFS is space, tab, and newline, or if
IFS is unset and it is being used to separate the
results of command or parameter substitution, any sequence of
IFS characters serves to
delimit words; otherwise, each occurrence of a character in
IFS serves to delimit a word.
If the value of
IFS is null, no word splitting is done.
LANG The locale of your system, which is made up of three parts: language, territory, and code
set. The default is the
C locale. See environ (5).
LC_ALL The overriding value for LANG and the LC_* variables. See environ(5).
LC_COLLATE The collating sequence to use when sorting names and when character ranges occur in
patterns. See environ (5).
LC_CTYPE The character classification information to use. Changing the value of LC_CTYPE after
the shell has started does not affect the lexical processing of shell commands in the
current shell execution environment or its subshells. See environ(5).
The shell uses
LC_CTYPE to detect nonprintable characters in the input and tries to han-
dle them when the emacs, gmacs,orvi editing mode is selected. Not starting a new
shell session after setting LC_CTYPE may affect the display of nonprintable input char-
acters in the emacs, gmacs,orvi editing mode.
LC_MESSAGES
The language in which system messages appear, and the language that the system
expects for user input of yes and no strings. See environ(5).
LC_MONETARY
The currency symbol and monetary value format. See environ (5).
LC_NUMERIC The numeric format. See environ(5).
LC_TIME The date and time format. See environ (5).
LINES If this variable is set, the value is used to determine the column length for printing
select lists. select lists print vertically until about two-thirds of LINES lines are
filled.
MAIL If this parameter is set to the name of a mail file and the MAILPATH parameter is not
set, the shell informs the user of arrival of mail in the specified file.
MAILCHECK How often (in seconds) the shell checks for changes in the modification time of any of the
files specified by the MAILPATH or MAIL parameters. The default value is 600 seconds.
When the time has elapsed, the shell checks before issuing the next prompt.
MAILPATH A list of file names separated by colons. If this parameter is set, the shell informs the
user of any modifications to the specified files that have occurred within the last MAIL-
CHECK seconds. Each file name can be followed by a ? and a message to be printed, in
which case the message will undergo parameter and command substitution with the
parameter $_ defined as the name of the changed file. The default message is you
have mail in $_.
NLSPATH The search path for message catalogs, a list of directories separated by colons.
PATH The search path for commands, a list of directories separated by colons. See the Execu-
tion subsection.
HP-UX 11i Version 2: August 2003 15 Hewlett-Packard Company Section 1813