¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 56°Ç
   
µµ¸ÞÀÎ ¸¸·áÀÏ Ã¼Å© ½ºÅ©¸³Æ®
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-04-23 (±Ý) 15:06 Á¶È¸ : 6103
±ÛÁÖ¼Ò :
                          

Ãâó : 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.txt
chonnom.com
mojily.net
kyunghyun.net

[root@mojily ~]# ./domain-check -f domain.txt



¡Ø Á¾·á½ÃÁ¡¿¡ ¸ÂÃç¼­ ¸ÞÀϺ¸³»´Â ±â´Éµµ ÀÖ´Ù.
[root@mojily ~]# ./domain-check2 -a -d chonnom.com -q -x 30 -e mojily@chonnom.com

[root@mojily ~]# ./domain-check2 -a -f domain.txt -d chonnom.com -q -x 30 -e mojily@chonnom.com



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.