Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

User Commands (k - l) ksh(1)
reset_define
Restores the attributes of a DEFINE to their original settings. An HP extension.
return Causes a shell function to return to the invoking script.
set Sets parameters.
set_define
Sets the values for DEFINE attributes. An HP extension.
shift Renames positional parameters.
show_define
Displays values of DEFINE attributes. An HP extension.
times Prints the accumulated user and system times for the shell and for processes run from
the shell.
trap Denes variables to be read and executed when the shell receives the specied signals.
type Returns the location of commands.
typeset Sets attributes and values for shell parameters.
umask Sets the user le-creation mask to mask.
unalias Removes alias denions.
unset Erases values assigned to variables.
wait Waits for the specied process and reports its termination status.
whence Indicates how names would be interpreted if used as commands.
Invocation
If the shell is invoked by exec, and the rst character of argument zero ($0)is- (dash), the shell
is assumed to be a login shell and commands are read from /etc/prole and then from either
.prole in the current directory or $HOME/.prole, if either le exists. Next, commands are
read from the le named by performing parameter substitution on the value of the ENV environ-
ment variable, if the le exists. If the -s ag is not present and argument is present, a path search
is performed on the rst argument to determine the name of the script to execute. The script
argument must have read permission and any setuid and getgid settings are ignored. Commands
are then read, as described in the following text.
See the FLAGS section for a complete description of ags that can be interpreted by the shell
when it is invoked.
FILES
/etc/profile System prole.
$HOME/.profile User prole.
NOTES
1. If a command is executed, and a command with the same name is installed in a directory
in the search path before the directory where the original command was found, the shell
will execute the original command. Use the hash command to correct this situation.
527188-004 Hewlett-Packard Company 529