more: add page
This commit is contained in:

committed by
Agniva De Sarker

parent
d508428edd
commit
a838644666
31
pages/windows/more.md
Normal file
31
pages/windows/more.md
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# more
|
||||||
|
|
||||||
|
> Display paginated output from stdin or a file.
|
||||||
|
|
||||||
|
- 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 full usage information:
|
||||||
|
|
||||||
|
`more /?`
|
Reference in New Issue
Block a user