"Linux" more commands

Source: Internet
Author: User
Use

More mainly used for one page to view archives


Full Name

The full name is more


Parameters

SPACEBAR: Represents a page down, or you can use the Ctrl+f

Enter: Represents the next row

: F: Displays the file name immediately and the number of rows currently displayed

Q: Exit

B: Turn back one page

=: Output Current line number

V Call VI Editor

command to invoke the shell and execute the command

More–n file name: Starting from the nth line of the file


Case


Case 1: Starting from line 25th

[Email protected] etc]# more-25/etc/man_db.conf


At this point, continue to press the "=" sign

At this point the cursor behaves 25 lines

"Linux" more commands

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.