Within your directory, type the following command:
sudo find . -print xargs grep "pattern to search for"
or if you have the name type, you can try
sudo find . -name "*.pl" xargs grep "pattern to search for"
Subscribe to:
Post Comments (Atom)
This blog was setup as a result of too much programming, I realised that I was getting back to the same problems which I had solved a few years ago. I thought a blog that can serve to remind me of what I did when i ran into programming problems :) So yep. Hence the title programming trail.
No comments:
Post a Comment