The wc (wordcount) 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. Wcfile1 displays the number of lines, words, bytes, and file names of file1 files. The wc-cfile1 counts the number of bytes of the file1 file. W...
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
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