Search code examples
loggingcmdterminaltelnetputty

How To Show Complete Output on PuTTy Terminal


I want to run a command with a long output like say:

show interface description

which should list all the interfaces on the router. The output runs for as long as it can fill the terminal screen then requests user to press -ENTER- (to show another line of output) or -SPACE- (to show another terminal screen full).

This also happens when telnet is run on cmd.

Is there a way to have the command run completely and show all output at once?

A similar question has been asked but it hasn't been very helpful.


Solution

  • terminal length 0
    

    To set the number of lines of output to display on the terminal screen for the current session before pausing, use the terminal length command. To revert to the default, use the no form of this command.

    terminal length lines
    terminal no length
    

    Syntax Description

    lines: Number of lines to display. The range is from 0 to 511. Use 0 to not pause while displaying output.

    Read more