find grep 组合用来查找所有".h"文件中的含有“helloworld”字符串的文件.
find . -name "*.h" -exec grep "helloworld" {} \;
不带图形界面启动emacs
emacs -nw
本文介绍如何使用find和grep命令组合来搜索包含特定字符串的所有.h文件,并提供了启动emacs无图形界面的方法。
find grep 组合用来查找所有".h"文件中的含有“helloworld”字符串的文件.
find . -name "*.h" -exec grep "helloworld" {} \;
不带图形界面启动emacs
emacs -nw

被折叠的 条评论
为什么被折叠?