利用find同时查找多种类型文件

find . -name "*.c" -o -name "*.cpp" -o -name "*.h"

就可以列出当前目录下面所有的c,cpp,h文件

原文地址:https://www.cnblogs.com/baizx/p/4438905.html