How can I search a wild card name in all subfolders? What would be the equivalent of DOS command: dir *pattern* /s
in *nix?
Shell – How to search a wild card name in all subfolders
recursiveshellwildcards
recursiveshellwildcards
How can I search a wild card name in all subfolders? What would be the equivalent of DOS command: dir *pattern* /s
in *nix?
Best Answer
You can use
find
. If, for example, you wanted to find all files and directories that hadabcd
in the filename, you could run: