grep
grep [选项] 字符串 文件名
#在文件之中匹配符合条件的字符串(文件内容搜索)
options
-i ingnore-case 忽略大小写
-v invert-match 排除指定字符串
grep -i “appname” ry.sh
grep [选项] 字符串 文件名
#在文件之中匹配符合条件的字符串(文件内容搜索)
options
-i ingnore-case 忽略大小写
-v invert-match 排除指定字符串
grep -i “appname” ry.sh