mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
[Change] grep Add find in files
This commit is contained in:
parent
ad744eea9f
commit
f42d28088c
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user