摘要: 查找目录下的所有文件中是否含有某个字符串 find .|xargs grep -ri "IBM" 查找目录下的所有文件中是否含有某个字符串,并且只打印出文件名 find .|xargs grep -ri "IBM" -l 1.正则表达式 (1)正则表达式一般用来描述文本模式的特殊用法,由普通字符(例 阅读全文
posted @ 2017-09-27 14:08 一个人的孤独自白 阅读(4636) 评论(0) 推荐(0)
摘要: CentOS6.5查看防火墙的状态: ? 1 [zh@localhost ~]$service iptable status ? 1 [zh@localhost ~]$service iptable status ? 1 [zh@localhost ~]$service iptable status 阅读全文
posted @ 2017-09-27 11:40 一个人的孤独自白 阅读(964) 评论(0) 推荐(1)