str[bits]

June 25, 2005

Searching String within a Directory

Filed under: Linux

If you don’t know the filename and you want to search a string within a directory (including subdirectory), you can use this grep command with some parameters:

grep -rsniH string_you_want_to_search *

Comments »

The URI to TrackBack this entry is: http://str.blogsome.com/2005/06/25/searching-string-within-a-directory/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>























Get free blog up and running in minutes with Blogsome | Theme designs available here