二次啟航
Piled Higher and Deeper 成長記錄
Pages
Home
Research
Ideas
Life
Technotes
Friday, October 16, 2015
[Linux] Search all files containing a given pattern
$ grep -rnw 'directory' -e "pattern"
Within the directory, you can just ignore the 'directory' option.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment