~ overflow ~

Archive for December 9th, 2009

(just) Find in files (bash)

by z3n on Dec.09, 2009, under Linux Happyness, Tips & Hints

Problem:

Need to search for a string in many files and return the filenames.

Solution:

find -depth -name *.file_extension | xargs grep -sl “string

Leave a Comment :, , , more...

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!