Linux more command is similar to cat, but will be displayed as a page by page, more convenient for users to read pages, and the most basic instruction is to press the blank key (space) to the next page, press the B key will be back to a page, but also the function of the search string (similar to VI), Use the instructions in the file, press H.
Grammar
more [-DLFPCSU] [-num] [+/pattern] [+linenum] [fileNames ...]
Parameters:
-num The number of rows displayed at a time-D prompts the user to display the press space to continue for instructions at the bottom of the screen . ] Instead of ' beep '---L cancels meeting special character ^l (paper feed characters) when the function is paused when the number of rows is calculated as the number of rows in the actual number of lines, rather than after the word wrap (some single-line words that are too long will be extended to two or more lines)-p does not display each page in a scroll But first clear the screen and then display the content-c similar to-p, the difference is to display the content and then clear the other old data-s when you encounter more than two consecutive lines of blank lines, the substitution of a row of blank line-U does not display the quotation marks (according to the environment variable term specified terminal and different)+/< C3>pattern searches for the string (pattern) before each document is displayed, and then starts displaying after the string +num Displays the document filenames want to display from Num line, which is the number of complex numbers
Instance
Displays the contents of the Testfile document on a per-page basis, with two consecutive lines or more blank lines displayed in a row of blank lines.
More-s testfile
Displays the contents of the Testfile document starting at line 20th.
More +20 Testfile
Common operations
Enter down n rows, which need to be defined. The default is 1 lines Ctrl+F scroll down one screen SPACEBAR scroll down one screen Ctrl+B return to previous screen = output line number of current line: F output file name and line number of current line v call VI Editor! Command call Shell, and execute the command Q exit more
Transferred from: http://www.runoob.com/linux/linux-comm-more.html
Linux View file Contents command: More (GO)