Linux grep 命令

命令介绍

grep 命令用于查找文件里符合条件的字符串。

参数介绍

1、-i 忽略字符大小写的差别。

例子:查看文件内的指定字符

grep -i feigege fileName.log