Linux basic Commands (4) View file related

Source: Internet
Author: User

CAT//(CONCATENATE) start from the first line

-N List Line numbers

Reverse operation of TAC//cat

NL//view and List line numbers

-b Specifies how the line number is specified

-B A is equivalent to cat-n empty line also listed travel number

-B t default blank line does not list line numbers

-N Line Number representation method

-N Ln line number is displayed on the left

-N RN line number is displayed on the right side of the field

-N RZ line number is displayed on the right side of the field plus 0

more//View files can be paged back

Less//View files Unlike more is possible to page forward

Head//View file header rows-n followed by line number without parameter default 10 rows

Tail//view files at the end of a few lines of parameters with head

OD//Read the file in the specified binary

  

  

Linux basic Commands (4) View file related

Related Article

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.