-3

If I want to find all files with the string "test" in their name, how do I do so?

java123999
  • 6,204
  • 31
  • 73
  • 114
  • 5
    Possible 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 Answers1

1

You can try this:

find . -maxdepth 1 -name "test" -print

or

find . -type f -name "*test*"
Rahul Tripathi
  • 161,154
  • 30
  • 262
  • 319