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
grep -nr 'string pattern' path
ps. -n, --line-number print line number with output lines
-R, -r, --recursive equivalent to --directories=recurse
沒有留言 :
張貼留言