# Search files by name "filename1"
find . -name filename1

# Search for string "string1" through all files from current dir and subdirs
grep -R string1 .

# Search filenames of files contain string
grep -rl "string1" /folder
  • No labels