Router#show history
  n
  en
  show ip int br
  show history
  show history

Router#show terminal
Line 0, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Status: PSI Enabled, Ready, Active, Automore On
Capabilities: none
Modem state: Ready
Group codes:    0
Modem hardware state: noCTS noDSR  DTR RTS
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
                ^^x    none   -     -       none        
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch
               00:10:00        never                        none     not set
                            Idle Session Disconnect Warning
                              never
                            Login-sequence User Response
                             00:00:30
                            Autoselect Initial Wait
                              not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:01:08
Editing is enabled.
History is enabled, history size is 20.
DNS resolution in show commands is enabled
 --More--         Full user help is disabled
Allowed input transports are none.
Allowed output transports are lat pad v120 lapb-ta mop telnet rlogin ssh.
Preferred transport is lat.
No output characters are padded
No special data dispatching characters
Router#term
Router#terminal his
Router#terminal history siz
Router#terminal history size 40
Router#show ter
Router#show terminal
Line 0, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Status: PSI Enabled, Ready, Active, Automore On
Capabilities: none
Modem state: Ready
Group codes:    0
Modem hardware state: noCTS noDSR  DTR RTS
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
                ^^x    none   -     -       none        
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch
               00:10:00        never                        none     not set
                            Idle Session Disconnect Warning
                              never
                            Login-sequence User Response
                             00:00:30
                            Autoselect Initial Wait
                              not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:01:24
Editing is enabled.
History is enabled, history size is 40.
DNS resolution in show commands is enabled
 --More--         Full user help is disabled
Allowed input transports are none.
Allowed output transports are lat pad v120 lapb-ta mop telnet rlogin ssh.
Preferred transport is lat.
No output characters are padded
No special data dispatching characters
Router#