View the number of rows in a large file (Windows and Ubuntu)

Source: Internet
Author: User

Windows

On the Windows platform, we can use many tools to open a file and see its number of rows, most commonly Ms Office Word, Notepad, and so on. In MS-DOS, we can also use edit mode to open a file, but it can open up to 65280 rows of data. Here is a tool notepad++, which can open and display more rows of data, and automatically display line numbers.



Ubuntu

On the Ubuntu platform, we can use the WC command to count file information without opening the file.

Like what:


Wc-l myfile.txt

Number of rows in the statistics file


WC-M myfile.txt

Number of characters in the statistics file


WC-W myfile.txt

Number of words in the statistics file


Of course, the use of the Vim VI and other editing tools under the Linux platform is also very convenient to view the number of rows of large files



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

View the number of rows in a large file (Windows and Ubuntu)

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.