wc-----输出每个文件中的字符数、单词数及行数

作者: videoout 2009-02-01 22:16:42
来源/网络 作者/不详

wc [options][files]

$ wc -l file
输出file中的行数

$ wc -w file
输出file中的单词数

$ wc -c file
输出file中的字符数

相关资讯