Wednesday, January 29

Mac OS X Hints - Create a one-step whois lookup script #!/bin/bash

echo "Getting server..."

export SERVER=`whois $1 | grep -i whois\ server: |

awk '{print $3'}`

echo "Searching server: $SERVER"

whois -h $SERVER $1





This is an OSX script.

No comments: