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:
Simple and easy. No regex, no search and replace. Just clean, built-in tools.
There is 1 alternative - vote for the best!
I've been using it in a script to build from scratch proxy servers.
Combines wgzhao's grep | awk | sed into one awk command.
only output the ip addres. I put double pipe with sed because not parse with operator OR (|) in redex.
If you can do better, submit your command here.
You must be signed in to comment.