HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

more — Display paginated output from `stdin` or a file. More information: <https://learn.microsoft.com/wind

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfromclistdinpaginatedmoredisplayoutput
windows

Problem

How to use the more command: Display paginated output from stdin or a file. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/more>.

Solution

more — Display paginated output from stdin or a file. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/more>.

Display paginated output from stdin:
{{echo test}} | more


Display paginated output from one or more files:
more {{path\to\file}}


Convert tabs to the specified number of spaces:
more {{path\to\file}} /t{{spaces}}


Clear the screen before displaying the page:
more {{path\to\file}} /c


Display the output starting at line 5:
more {{path\to\file}} +{{5}}


Enable extended interactive mode (see help for usage):
more {{path\to\file}} /e


Display help:
more /?

Code Snippets

Display paginated output from `stdin`

{{echo test}} | more

Display paginated output from one or more files

more {{path\to\file}}

Convert tabs to the specified number of spaces

more {{path\to\file}} /t{{spaces}}

Clear the screen before displaying the page

more {{path\to\file}} /c

Display the output starting at line 5

more {{path\to\file}} +{{5}}

Context

tldr-pages: windows/more

Revisions (0)

No revisions yet.