Google Custom Search

2006/12/12

How to match string pattern from specific folder?

grep -nr 'string pattern' path

ps. -n, --line-number print line number with output lines
-R, -r, --recursive equivalent to --directories=recurse

沒有留言 :