Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
history(1) OSS Shell and Utilities Reference Manual
NAME
history - Lists previously executed commands
SYNOPSIS
history
DESCRIPTION
The history command displays the contents of the history file, which contains a list of previ-
ously executed commands. The history command is an exported alias for the fc -l command and
is compiled into the OSS shell. (See the reference page for the fc command.) history can be
unset or redefined. See "Command Aliasing" in the sh reference page.
EXAMPLES
1. The following command lists the contents of the history file:
history
NOTES
The history command is a shell built-in command. It differs from the regular commands in that it
does not open a new shell process when it executes.
A general discussion of shell built-in commands and a list of the OSS shell built-in commands
are in the reference page for sh(1).
RELATED INFORMATION
Commands: fc(1), sh(1).
4−50 Hewlett-Packard Company 527188-021