Linux-如何查找名称中包含特定字符串的文件?

时间:2016-09-09 09:54:56

标签: linux string file

如果我想在名称中找到所有带有“test”字符串的文件,我该怎么办?

1 个答案:

答案 0 :(得分:1)

你可以试试这个:

find . -maxdepth 1 -name "test" -print

find . -type f -name "*test*"
相关问题