Red Bridge Internet is a San Francisco WordPress Consulting firm specializing in WordPress websites and WordPress Plugin Development. We're the ones you have been searching for.

Search with Find, Xargs, and Grep

I’ve watched people search for character matches on Unix and Linux machines at times with not a lot of success. A very good way to make this search on a Unix/Linux box is to use the find, xargs, and grep commands:

find . | xargs grep “criteria”

This will allow you to search recursively for the criteria.

On edit: the link below has a longer discussion titled “How can I recursively grep through sub-directories?”:

Incoming search terms:

  • linux find -name grep xargs
  • linux grep xargs
  • linux xargs with grep

No related posts.

Leave a Reply