Linux 查找含有指定字符串的文件

来源:互联网 发布:oracle数据库安装口令 编辑:程序博客网 时间:2024/05/21 11:06
sudo find /usr/include/* -print |xargs grep "string"

/usr/include/* ;是查找的路径"string"       ;是查找的字符串