commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
I like this better than some of the alternatives using -exec, because if I want to change the string, it's right there at the end of the command line. That means less editing effort and more time to drink coffee.
There is 1 alternative - vote for the best!
Gnu grep allows to restrict the search to files only matching a given pattern. It also allows to exclude files.
If you can do better, submit your command here.
You must be signed in to comment.