One linux Command per day wc

Source: Internet
Author: User


The wc (word count) command is used to print the number of bytes, number of words, and number of lines of a file. Wc -- help can be used to view command parameters. Wc file1 displays the number of lines, words, bytes, and file names of file1 files. Wc-c file1 counts the number of bytes in file1. Run www.2cto.com wc-m file1 to count the number of characters in the file1 file. Wc-l file1 counts the number of lines in the file1 file. Wc-L file1 counts the length of the longest row in the file1 file. Wc-w file1 counts the number of words in file1. Author: CrazyNemo

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.