摘要: 什么是正则: 正则就是一串有规律的字符串。 正则三剑客: grep/egrep (egrep是grep的扩展),sed, awk grep grep过滤指定关键词 [root@localhost grep]# grep 'nologin' passwd -c 行数 [root@localhost g 阅读全文
posted @ 2018-01-15 22:21 zhaocundang 阅读(207) 评论(0) 推荐(0) 编辑