HISTORY/HIST User Commands
NAME
history - Command Line History Utility
ALIASES
HISTORY, HIST
SYNOPSIS
hist [INDEX]
hist [SEARCH]
DESCRIPTION
The Command Console maintains the history of entered commands. This is
generally accessed using the UP and DOWN cursor arrows. A previous
command may be recalled, optionally edited, and potentially reissued.
The command history has been greatly enhanced as many more commands are
retained and now are carried from console session to console session. These
histories are unique to the user for obvious security reasons.
In the absence of INDEX or SEARCH parameters the HISTORY command displays
an enumerated list of past entries. Beginning with JANOS v2.4 there are up
to 200 previous command line entries recorded. Their listing is now presented
from oldest to latest making the new -P option useful in reviewing only the
most recent usage.
INDEX
The numeric INDEX from the history list can be entered to recall the
related entry to the command line for optional editing and reissue.
SEARCH
A SEARCH string may be used to display prior entries containing a match.
These will be enumerated but if there is only one matching entry it will
be brought to the command line for immediate use. The SEARCH string may
contain Regular Expression (REGEX) syntax.
-P
Displays the last page of the history list (approximately 23 lines).
NOTES
The HISTORY listing may be piped to a subsequent command such as
GREP
for more sophisticated searches. Or, piped to
TAIL for better control of
the list to be presented. You may pipe the output to
MORE and explore the
data in the screen editor.
The command line
TAB auto-complete has been further enhanced to include lines
from the command history. When TAB is used near the beginning of the command
line, lines from the history starting with any characters typed to that point
are offered. You may recall a previous CAT command, for example, by merely
pressing 'c' followed by TAB.
SEE ALSO
HELP Topics:
REGEX,
PROMPT
[/flash/manpages/manpages.hlp:2423]