Skip to content

linux 统计文件行数 字节数 单词个数 #53

Open
@v5tech

Description

@v5tech

Linux统计文件行数 字节数 单词个数

wc - lcw file1 file2

输出结果

4 33 file1
7 52 file2
11 11 85 total

该命令各选项含义如下:

- c 统计字节数。
- l 统计行数。
- w 统计字数。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions