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:
If you want to do the same in OS X... grep as necessary for information you need....
Works on any machine with nmap installed. Previous version does not work on machines without "seq".
Also works on subnets of any size.