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 / -type d -name "ora10"
我的问题是,我不确定确切的目录名称是什么,所以我想找到类似于"ora10g","ora10client"等的目录。
"ora10g"
"ora10client"
我怎样才能用 find 做到这一点?
find 支持通配符匹配,只需添加一个*:
*
find / -type d -name "ora10*"