摘要:
查找配置文件etc/rsyslog.conf中的行,要求没有注释,不是空行 grep -v ^# /etc/rsyslog.conf|grep -v ^$ 1.grep -v ^# /etc/rsyslog.conf找到文件中行首不是#的所有行 2.grep -v ^$找到结果1中所有的非空行 ^表 阅读全文
posted @ 2021-09-27 16:59 小翁好 阅读(271) 评论(0) 推荐(0)
|
摘要:
查找配置文件etc/rsyslog.conf中的行,要求没有注释,不是空行 grep -v ^# /etc/rsyslog.conf|grep -v ^$ 1.grep -v ^# /etc/rsyslog.conf找到文件中行首不是#的所有行 2.grep -v ^$找到结果1中所有的非空行 ^表 阅读全文
posted @ 2021-09-27 16:59 小翁好 阅读(271) 评论(0) 推荐(0) |
||