If I want to find all files with the string "test" in their name, how do I do so?
Asked
Active
Viewed 63 times
-3
-
5Possible duplicate of [Linux - Find Files with Name Containing String](http://stackoverflow.com/questions/11328988/linux-find-files-with-name-containing-string) – Amitesh Kumar Sep 09 '16 at 10:46
1 Answers
1
You can try this:
find . -maxdepth 1 -name "test" -print
or
find . -type f -name "*test*"
Rahul Tripathi
- 161,154
- 30
- 262
- 319