[关闭]
@websec007 2021-08-27T08:52:17.000000Z 字数 354 阅读 450

去重统计方法

文档类工作


1、linux 命令去重统计

1.1 步骤简介

1.2 实际操作命令

  1. # sort -n text | uniq -c > text.out

2、execl去重统计

1.1 步骤简介

1.2 实际操作指令

具体操作参加如下链接:
https://jingyan.baidu.com/article/ca2d939dd7a7b9eb6c31cedf.html

3、awk 格式化取数据

3.1 操作命令

  1. # awk '{print $1}' text.out \\显示第一列频率数字
  2. # awk '{print $2}' text.out \\显示第2列被统计对象
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注