[an error occurred while processing this directive] [an error occurred while processing this directive]

history

Syntax

history

<!n>

Release Information

Command supported by JUNOS Release 9.1 and later.

Description

(JCS management module CLI) Display the last eight commands entered. You can use this list to reenter commands. To reenter a command, use the history command to display a list of recent commands, then type an exclamation point (!) followed by the number of the command you wish to reenter.

Options

!n—(Optional) Reenter a command from the history list. Replace n with a value of 0 through 7 to indicate the number of the command you wish to reenter.

Required Privilege Level

operator

List of Sample Output

history (Listing)
history (Reentering a Command)

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

history (Listing)

system:mm[1]> history
0 dns
1 dns —on
2 dns
3 dns —i1 192.168.70.29
4 dns
5 dns —i1 192.168.70.29 —on
6 dns
7 history

history (Reentering a Command)

system:mm[1]> !2
Enabled
-i1 192.168.70.29
-12 0.0.0.0
-i3 0.0.0.0

Published: 2009-07-23

[an error occurred while processing this directive]