Find directory name with wildcard or similar to "like"

UnixDirectory

Unix Problem Overview


I am using the following command to find a directory name.

 find / -type d -name "ora10"

My problem is, I am not sure what the exact directory name is, so I would like to find directories similar to "ora10g", "ora10client", etc.

How can I do this with find?

Unix Solutions


Solution 1 - Unix

find supports wildcard matches, just add a *:

find / -type d -name "ora10*"

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionjdamaeView Question on Stackoverflow
Solution 1 - UnixHunter McMillenView Answer on Stackoverflow