Technology Blog

Grep Argument List too Long

by admin on Apr.18, 2009, under Linux

Blast! I hate when this happens. It’s always when one of the biggest clients has a problem and I am debugging. How the heck am I suppose to help them now? My best search tool isn’t even working.

Well thankfully for the following snippet:


find . -type f -print0 | xargs -0 grep "search string here"

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • StumbleUpon
  • TwitThis

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...