Lookup details of an IP or Domain (whois lookup) graphically


By using the following script you can easily lookup for an ip or domain using zenity and shell script. (sorry Windows folks, i just hate you).

 

#!/bin/bash
# Get the domain name
Z=”/usr/bin/zenity”
O=”/tmp/whois.o.$$”
domain=$(${Z} –title  “Domain Information” \
                –entry –text “Domain name who’s information you seek!” )

if [ $? -eq 0 ]
then
    whois $domain  | tee >${O}
 
  # Display back output
  ${Z} –width=800 –height=600  \
               –title “Whois info for $domain” \
               –text-info –filename=”${O}”
else
  ${Z} –error \
               –text=”No input provided”
fi

 

Enjoy. 😀

Posted via web from Linux fanatic


Posted

in

by

Tags:

Comments

2 responses to “Lookup details of an IP or Domain (whois lookup) graphically”

  1. Joice312 Avatar

    Am new here, discovered this site by searching google and really like it here, will enjoy my stay for sure hehe 🙂

  2. LxC Whois Avatar

    Hello,

    Check it out free PHP Whois Domain lookup
    Let me know if you like it.

    Thanks.

Leave a comment