[Change] grep Add find in files

This commit is contained in:
ImmortalPC 2013-11-25 13:44:30 +01:00
parent ad744eea9f
commit f42d28088c
1 changed files with 4 additions and 0 deletions

View File

@ -9,3 +9,7 @@ grep -R pattern folder
# Getting pattern from file (one by line):
grep -f pattern_file file
# Find all files who contain {pattern} in the directory {directory}.
# This will show: "file:line my research"
grep -rnw 'directory' -e "pattern"