history
<!n>
Command supported by JUNOS Release 9.1 and later.
(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.
!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.
operator
When you enter this command, you are provided feedback on the status of your request.
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
system:mm[1]> !2
Enabled -i1 192.168.70.29 -12 0.0.0.0 -i3 0.0.0.0