wc命令
wc命令用来打印文件的文本行数、单词数、字节数等(print the number of newlines, words, and bytes in files)
格式:wc -l <file> 打印指定文件的文本行数。(l=小写L) 参数:-c, --bytes 打印字节数(print the byte counts) 参数:-m, --chars 打印字符数(print the character counts) 参数:-l, --lines 打印行数(print the newline counts) 参数:-w, --words 打印单词数(print the word counts)