snippetbashTip
more — Display paginated output from `stdin` or a file. More information: <https://learn.microsoft.com/wind
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}} | moreDisplay 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}} /cDisplay the output starting at line 5:
more {{path\to\file}} +{{5}}Enable extended interactive mode (see help for usage):
more {{path\to\file}} /eDisplay help:
more /?Code Snippets
Display paginated output from `stdin`
{{echo test}} | moreDisplay 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}} /cDisplay the output starting at line 5
more {{path\to\file}} +{{5}}Context
tldr-pages: windows/more
Revisions (0)
No revisions yet.