Shawson Lim

搬运工. 砌匠. 包工头.

Category
 » mysql
 » golang
 » linux
 » git
 » php
 » front
 » staticstics
 » default
 » tools

[Linux] wc - 文件统计

22 Oct 2014 » linux
  • 使用方式:

    wc [选项] 文件…

  • 说明:

    该命令统计给定文件中的字节数、字数、行数。如果没有给出文件名,则从标准输入读取。 wc同时也给出所有指定文件的总统计数。字是由空格字符区分开的最大字符串。

  • 该命令各选项含义如下:

    • -c 统计字节数。
    • -l 统计行数。
    • -w 统计字数。
© Shawson Lim - https://github.com/linsir123 - Powered by Jekyll.