命令
find test/ -name ‘.’ | xargs grep “hello”
该命令主要应用于知道文件部分内容,但已不记得该文件的具体名字,或者所在路径,可以使用此命令根据 某些关键内容查找该文件。
find -name ‘*.*’ | xargs grep “hello” 其中, hello为要查找的某个文件中的关键字.
命令
find test/ -name ‘.’ | xargs grep “hello”
该命令主要应用于知道文件部分内容,但已不记得该文件的具体名字,或者所在路径,可以使用此命令根据 某些关键内容查找该文件。
find -name ‘*.*’ | xargs grep “hello” 其中, hello为要查找的某个文件中的关键字.