随笔分类 -  Linux

摘要:root@localhost ipvsadm-1.25]# yum install gccLoading "security" pluginLoading "rhnplugin" pluginThis system is not registered with RHN.RHN support will be disabled.Setting up Install ProcessParsing package install argumentsNo package gcc available.Nothing to do[root@localhost ipv 阅读全文
posted @ 2013-09-04 16:30 王 庆 阅读(337) 评论(0) 推荐(0)
摘要:查询所有日志的某个字符串find .type f /mas/logs/smsproxy -name "*.log" | xargs grep "error"查询某个日志的字符串grep -n "error" smsproxy.2013-05-09.log显示某几行日志sed -n '10490,10510p' smsproxy.2013-05-09.log 阅读全文
posted @ 2013-05-24 17:06 王 庆 阅读(170) 评论(0) 推荐(0)