我很难找到在当前目录及其子目录中查找匹配项.
当我运行find *test.c它时,只给我当前目录中的匹配项.(不查看子目录)
find *test.c
如果我尝试find . -name *test.c我会期望相同的结果,但它只给我在子目录中的匹配.当有工作目录中应该匹配的文件时,它会给我:find: paths must precede expression: mytest.c
find . -name *test.c
find: paths must precede expression: mytest.c
这个错误是什么意思,我如何从当前目录及其子目录获取匹配?
linux bash find
bash ×1
find ×1
linux ×1