摘要: 1. 提取/etc/ansible/hosts 文件中包括star的行,且包含数字,不以[为开头的行 grep 'star' /etc/ansible/hosts | grep '[[:digit:]]' | grep -v '^\[' 2.grep 扩展 首先谈一下grep命令的常用格式为:gre 阅读全文
posted @ 2019-09-12 15:14 wxhw7021234 阅读(672) 评论(0) 推荐(0) 编辑