Searching String within a Directory
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 *
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 *
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.
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