Find a string within text files many times we do not know any file but which instead
we remember some text.
Or how many times we look for a file containing specific text
not know how this file is called ...
good you know what I mean.
Here 's a statement to the command line,
them solve this little problem .-
maxi @ sony: ~ / development / $ find. -Type f-exec grep 'string to search for' '{}' \\;-exec ls-l '{}' \\;
another way:
maxi @ sony: ~ / development / $ grep-i 'string to search for' folder / *
Simply replace 'string to search' by the text
want to find.
ready.
0 comments:
Post a Comment