摘要: 转自:https://blog.51cto.com/5iqiong/633186 收藏一些关于awk常用的案例 awk -F":" '{if($1~/root/) print $1}' /etc/passwd 打印包含root的行awk -F":" '/root/{print $1}' /etc/p 阅读全文
posted @ 2020-05-14 14:39 天乐_技术博客 阅读(1483) 评论(0) 推荐(0) 编辑