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'm annoyed by the boilerplate "don't login unless you are supposed messages in our environment" - this shuts them up.
the comm utility (opposite of diff) show commonalities in files (in this case strings)
I've been looking for a way to do this for a while, get a not pattern for shell globs. This works, I'm using to grab logs from a remote server via scp.
This only works in bash
changes THIS to THAT in all files matching fileglob* without using secondary files