pattern2

Linux查找含有某字符串的所有文件

如果你想在当前目录下 查找”hello,world!”字符串,可以这样: 1grep -rn "hello,world!" *