blob: c7357af8d7817b09432e618237c9c44e8b47e023 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
.help history Feb86 language
.ih
NAME
history -- display the last few commands
.ih
USAGE
history [[-]ncommands]
.ih
PARAMETERS
.ls ncommands
The number of commands to be displayed.
.le
.ih
DESCRIPTION
The \fIhistory\fR task prints a list of the last few commands executed.
Only commands which terminated normally are included.
The number of commands to be printed may be specified on the command line
if desired. If the number is preceded by a minus sign the default
number of lines is not changed, otherwise \fIhistory\fR will take the
value given as the new default number of commands to be printed.
.ih
EXAMPLES
1. Print the last few commands.
cl> history
2. Print the entire history list.
cl> history -999
3. Change the default number of history lines to be printed to 5 (and print
the last five commands).
cl> history 5
4. Save the history in the file "commands".
cl> history -999 > commands
.ih
SEE ALSO
ehistory
.endhelp
|