摘要: 1、统计文档中字符出现的次数-思路:grep出完全匹配字符的行数,且仅输出匹配的字符而不是匹配行,再wc统计行数 bash-4.1# cat /etc/passwdroot:x:0:0:root:/root:/bin/bashbin:x:1:1:bin:/bin:/sbin/nologindaemo 阅读全文
posted @ 2020-05-23 13:31 sjxm2017 阅读(104) 评论(0) 推荐(0) 编辑