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:
There are 6 alternatives - vote for the best!
Some commands (such as netcat) have a port option but how can you know which ports are unused?
Not really better - just different ;)
There's probably a really simple solution out there somewhere...
This is also perl-less, and only uses AWK as its postprocessor. Tested with GAWK and MAWK.
Should work with sh, bash, etc.
If you can do better, submit your command here.
You must be signed in to comment.