Linux command more

Source: Internet
Author: User

More commands:

Read the file from the beginning, load the entire file at startup, and let the entire file appear on the screen from top to bottom.

Pages can be read by page, Space: Next page, B key (back): Previous page, but also the ability to search strings.

More-/+ (parameter) file (file)

Detailed command parameters:

+n: Starting from Nth line

-N: Defines the size of the screen as n rows

+/pattern: Each file is displayed before the search for the change string (pattern), and then from the first two lines of the string to display.

-C: Clear the screen from the top and start showing

-D hint "press space to continue, ' Q ' To quit (press SPACEBAR to continue, pressing Q key to exit)", disable the ringing function

-L ignores Ctrl+l (page break) characters

-p to page a file by clearing the window instead of scrolling, similar to the-C option

-S displays a contiguous number of empty rows as a row

-U Remove the line from the contents of the file

Common Operation Commands:

Enter down n rows, which need to be defined. Default is 1 rows

CTRL+F Scroll down one screen

Space bar scroll down one screen

Ctrl+b Back to previous screen

= Output the line number of the current line

: F output File name and line number of the current line

V Call VI Editor

command to invoke the shell and execute the command

Q Exit More

Linux command more

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.