Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 find 命令,我想知道是否有比正则表达式更简单的方法来查找具有特定结尾的文件?
在我的作业中,我必须找到所有以 .c 结尾的文件(如 C 程序的源代码文件)
不是吗
find . -name '*.c'
够简单吗?