<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> new document </ti
一 wc简单介绍 wc命令用来打印文件的文本行数.单词数.字节数等(print the number of newlines, words, and bytes in files).在Windows的Word中有个"字数统计"的工具,能够帮我们把选中范围的字数.字符数统计出来.Linux下的wc命令能够实现这个 功能.使用vi打开文件的时候.底下的信息也会显示行数和字节数. 二 经常使用參数 格式:wc -l <file> 打印指定文件的文本行数.(l=小写L) 下面參数可