摘要: grep 命令 grep参数: -E:等同于egrep -o:只匹配你想要的内容,下面是示例: [root@localhost ~]# cat /data/game/config/server_config.txt | grep mysql_port | egrep -o "[0-9]+"3306[ 阅读全文
posted @ 2015-12-07 16:13 唐胜伟 阅读(323) 评论(0) 推荐(0) 编辑