2018-10-10 14:37:35 +01:00
|
|
|
# more
|
|
|
|
|
2022-12-04 08:53:34 +01:00
|
|
|
> Display paginated output from `stdin` or a file.
|
2022-10-04 20:36:23 +05:30
|
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/more>.
|
2018-10-10 14:37:35 +01:00
|
|
|
|
2022-12-04 08:53:34 +01:00
|
|
|
- Display paginated output from `stdin`:
|
2018-10-10 14:37:35 +01:00
|
|
|
|
|
|
|
`{{echo test}} | more`
|
|
|
|
|
|
|
|
- Display paginated output from one or more files:
|
|
|
|
|
2023-02-20 17:23:49 +10:00
|
|
|
`more {{path\to\file}}`
|
2018-10-10 14:37:35 +01:00
|
|
|
|
|
|
|
- Convert tabs to the specified number of spaces:
|
|
|
|
|
2023-02-20 17:23:49 +10:00
|
|
|
`more {{path\to\file}} /t{{spaces}}`
|
2018-10-10 14:37:35 +01:00
|
|
|
|
|
|
|
- Clear the screen before displaying the page:
|
|
|
|
|
2023-02-20 17:23:49 +10:00
|
|
|
`more {{path\to\file}} /c`
|
2018-10-10 14:37:35 +01:00
|
|
|
|
|
|
|
- Display the output starting at line 5:
|
|
|
|
|
2023-02-20 17:23:49 +10:00
|
|
|
`more {{path\to\file}} +{{5}}`
|
2018-10-10 14:37:35 +01:00
|
|
|
|
|
|
|
- Enable extended interactive mode (see help for usage):
|
|
|
|
|
2023-02-20 17:23:49 +10:00
|
|
|
`more {{path\to\file}} /e`
|
2018-10-10 14:37:35 +01:00
|
|
|
|
2024-01-30 01:55:24 -03:00
|
|
|
- Display help:
|
2018-10-10 14:37:35 +01:00
|
|
|
|
|
|
|
`more /?`
|