摘要: 文本分析,取出/etc/password中shell出现的次数 答案1: cat /etc/passwd | awk -F: '{if ($7!="") print $7}' | sort | uniq -c /etc/passwd 中的数据是以:隔开的 sort是将文件中的每一行作为一个单位,互相 阅读全文
posted @ 2019-12-30 22:28 王清河 阅读(225) 评论(0) 推荐(0) 编辑