Ãâó :
http://www.cyberciti.biz/tips/domain-check-script.html½ºÅ©¸³Æ® ¿ø¹® :
http://www.cyberciti.biz/files/scripts/domain-check-2.txt´Ù¿î·Îµå
$ wget http://www.cyberciti.biz/files/scripts/domain-check-2.txt
$ mv domain-check-2.txt domain-check
$ chmod +x domain-check
$ ./domain-check -d chonnom.com
»ç¿ë¹æ¹ý
Usage: domain-check.sh [ -e email ] [ -x expir_days ] [ -q ] [ -a ] [ -h ]
{[ -d domain_namee ]} || { -f domainfile}
-a : Send a warning message through email
-d domain : Domain to analyze (interactive mode)
-e email address : Email address to send expiration notices
-f domain file : File with a list of domains
-h : Print this screen
-s whois server : Whois sever to query for information
-q : Don't print anything on the console
-x days : Domain expiration interval (eg. if domain_date < days)
[root@mojily ~]# ./domain-check. -d chonnom.com
Domain Registrar Status Expires Days Left
----------------------------------- ----------------- -------- ----------- ---------
chonnom.com ASADAL, INC. Valid 18-aug-2010 117
µµ¸ÞÀθ®½ºÆ®¸¦ ÆÄÀÏ·Î ¸¸µé¾î¼ ºÒ·¯¿À±â
[root@mojily ~]#
cat domain.txtchonnom.com
mojily.net
kyunghyun.net
[root@mojily ~]#
./domain-check -f domain.txt
¡Ø Á¾·á½ÃÁ¡¿¡ ¸ÂÃç¼ ¸ÞÀϺ¸³»´Â ±â´Éµµ ÀÖ´Ù.