wc

作者: Kokoronashi | 来源:发表于2019-01-04 10:52 被阅读0次

wc 命令

命令简介:

简单小巧的计数工具,wc命令用于统计并输出一个文件中行、单词和字节的数目.

Usage: wc [OPTION]... [FILE]...
  or:  wc [OPTION]... --files0-from=F
Print newline, word, and byte counts for each FILE, and a total line if
more than one FILE is specified.  With no FILE, or when FILE is -,
read standard input.  A word is a non-zero-length sequence of characters
delimited by white space.
The options below may be used to select which counts are printed, always in
the following order: newline, word, character, byte, maximum line length.
  -c, --bytes            print the byte counts
  统计字节数
  
  -m, --chars            print the character counts
  统计字符数
  
  -l, --lines            print the newline counts
  统计行数
      --files0-from=F    read input from the files specified by
                           NUL-terminated names in file F;
                           If F is - then read names from standard input
  -L, --max-line-length  print the length of the longest line
  -w, --words            print the word counts
  统计单词数
  
  --help     display this help and exit
  --version  output version information and exit

相关文章

  • 文件处理命令用法及演示

    wc,cut,sort,uniq wc wc 命令显示[root@localhost mytest]# more ...

  • 7.显示/var目录下一级子目录或文件的总个数。

    ls /var | wc -l wc -l:显示行数

  • Linux下统计文件夹、文件个数

    了解WC命令 wc -c 文件名称 **显示文件字节数wc -m 文件名称 **显示文件字符数wc -l 文件...

  • wc

    ~/+了

  • WC

    如厕时,已经没手纸了 昨晚睡觉时所见的手纸尚可以使用一次 好吧,我们总是这样 从来都不考虑别人,从来都不考虑以后

  • wc

    百无一用是自尊。 时光不欢喜 经受的过往终将酿成蜂蜜

  • wc

    统计文本的行数、字数、字符数 -m 字符数-w 文本字数-l 文本行数

  • wc

    2条腿一条重过重 2条没有知觉 今天凌晨有被右腿压到呼吸不了

  • wc

    wc 命令 命令简介: 简单小巧的计数工具,wc命令用于统计并输出一个文件中行、单词和字节的数目.

  • WC

    诗/图:九月的风1988 四四方方一寸天, 进进出出赛神仙。 善解世人燃眉急, 人见人爱一瞬间。

网友评论

      本文标题:wc

      本文链接:https://www.haomeiwen.com/subject/wcrhrqtx.html