158 APPENDIX C: SYNTAX CONVENTIONSCommand HistorySubstitutionThe bridge/router “remembers” the 10 most recent commands youentered. To display a list of these commands, enter:SHow HistoryTo repeat any of the commands displayed, use the event designator,which is represented by an exclamation point (!). Table 19 describeshistory substitution option syntax.Table 19 History Substitution Option SyntaxSyntax Description!! Repeats the previous command.! Repeats the command line numbered n.! – Repeats the command whose number is the current command number minus n. Thecurrent command number is printed on the screen preceding the prompt. Forexample, if the current command is 100 and n is 2, command number 98 is repeated.! Repeats the most recent command that starts with string. The SHow History commandmight display the following commands:166 setdefault !1 -path control = enabled167 show -path configuration168 show history169 set screenlength = 23170 setdefault -bridge control = bridge171 show statistics ?If you enter !setd at the prompt, the most recent occurrence of the SETDefaultcommand (setd -br cont = b, number 170) is executed.!? Repeats the most recent command containing string.^^^Repeats the most recent command that contains string1. If string2 is specified, itsubstitutes for string1 in that command. For example, if you entered this SETDefaultcommand with a typing mistake:seed welcomestring = “You are talking to the 3Com NETBuilder”To repeat the command with the correct spelling of SETD, you do not need to reenterthe entire command. Enter the following command:^seed^setdThe following command is displayed and executed:setd welcomestring = “You are talking to the 3Com NETBuilder”