Linux 命令集合

1.find /etc -name "*" | xargs grep "hello abcserver" 按照内容过滤
2.grep -v "^#" welcome.conf 匹配不是以#开始的行
3.grep "[a-z]\{5\}" aa 匹配任意

posted @ 2013-12-11 08:39  oftenlin  阅读(159)  评论(0编辑  收藏  举报