Advertisement
pharmokan

locate ubuntu linux command grep find inside files string

Jul 25th, 2014
536
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. locate -0 --regex '/filename1\.extension|/filename2\.extension' | xargs -0 grep -Fl 'string'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement