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:
Should work with sh, bash, etc.
There are 2 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.
If you can do better, submit your command here.
You must be signed in to comment.