linux 下搜索日志关键字

cat pafa.log | grep  关键字  如果关键字里面有空格加‘’,linux会认为空格后是文件

cat pafa.log | grep  -i  关键字    查询不分大小写

shift+insert    ssh粘贴

猜你喜欢

转载自zhglhy.iteye.com/blog/1954370