Scripting

Scripting

Sorted By Creation Time

Whois

Home: www.packetnexus.com

#!/bin/bash

domain=packetnexus.com
email=http://www.packetnexus.com

echo -n "Enter the domain to lookup [$domain]: "
read TMP
if [ $TMP ]; then
    domain=$TMP
fi

echo -n "Enter the email address to send results to [$email]: "
read TMP
if [ $TMP ]; then
    email=$TMP
fi

do
whois $domain|mail -s "$domain record" $email
done


Back to the Index

perl random word

Home: www.packetnexus.com

perl -e 'open DICT, "/usr/share/dict/words"; @DICT = <DICT>; \
print $DICT[rand(@DICT)];'

modify the path to the words file for your os


Back to the Index