You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

# 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