-3

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

java123999
  • 6,974
  • 36
  • 77
  • 121
  • 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
  • 168,305
  • 31
  • 280
  • 331