<?xml version="1.0" encoding="euc-kr"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>SE ¸ðÁö¸®³× ÃÌ³ð´åÄÄ::°¡»óÈ­, KVM, HYPER-V, Virtualization, Å¬¶ó¿ìµå, CLOUD, LINUX, WINDOW,Security, DDOS, Network &gt; È£½ºÆÃ TIP &gt; BASH</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23</link>
<description>Å×½ºÆ® ¹öÀü 0.2 (2004-04-26)</description>
<language>ko</language>
<item>
<title>Æ¯Á¤ ¹®ÀÚ¿­ÀÌ Æ÷ÇÔµÈ ¶óÀÎ»èÁ¦</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=168</link>
<description><![CDATA[<div><font face="±¼¸²"><span style="font-size: 12px;">instance_bak.sh ¹®ÀÚ¿­ÀÌ Æ÷ÇÔµÈ ¶óÀÎ »èÁ¦&nbsp;</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px;"><br></span></font></div><font face="±¼¸²"><span style="font-size: 12px;"># sed -i '/instance_bak.sh/d' /etc/crontab</span></font>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Fri, 16 Jun 2017 19:07:27 +0900</dc:date>
</item>
<item>
<title>bigsize_file_upload.sh</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=61</link>
<description><![CDATA[# cat bigsize_file_upload.sh <br>#!/bin/bash<br>path=/mnt<br>host=`hostname`<br>num=0<br>loop_num=0<br>file_max=2<br>file_size=1<br>loop=3<br><br>ftp_host="xxxxxx"<br>ftp_id="xxxxxx"<br>ftp_pw="xxxxxx"<br><br>mkdir $path/$host<br>### file make <br>while [ $num -lt $file_max ]<br>&nbsp;&nbsp; &nbsp;do &nbsp;<br>&nbsp;&nbsp; &nbsp;num=`expr $num + 1`<br>&nbsp;&nbsp; &nbsp;fallocate -l ${file_size}G $path/$host/$num.img<br>done <br><br>### ftp upload<br>while [ $loop_num -lt $loop ] <br>&nbsp;&nbsp; &nbsp;do<br>&nbsp;&nbsp; &nbsp;loop_num=`expr $loop_num + 1`<br>&nbsp;&nbsp; &nbsp;lftp -e "mirror -R&nbsp; $path/$host $host; rm -r $host; bye" -u ${ftp_id},${ftp_pw} ${ftp_host}<br>&nbsp;&nbsp; &nbsp;echo "loop count : $loop_num"<br>done<br><br>echo "ftp upload end" <br><br>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Thu, 07 Jul 2016 18:34:44 +0900</dc:date>
</item>
<item>
<title>°ø¹é¹®ÀÚ(whitespace) È®ÀÎ ¹× ¼öÁ¤¹æ¹ý</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=60</link>
<description><![CDATA[<font face="±¼¸²"><span style="line-height: 1.5; font-size: 9pt;">Python°ú °°Àº ÀÎÅÍÇÁ¸®Æ® ¾ð¾î´Â °ø¹éÀÌ³ª Tab¿¡ ¹Î°¨ÇÏ±â¿¡ ÁÖÀÇ¸¦ ÇØ¾ßÇÕ´Ï´Ù. <br>ÆÄÀÏÇÏ³ª Àß¸ø¼öÁ¤ÇØ¼­ °ø¹éÇÏ³ª ¶§¹®¿¡ ²þ²þ°Å¸®¸ç&nbsp;½Ã°£º¸³¾¼ö ÀÖÀ¸´Ï...ÁÖÀÇÇÏ½Ã±æ...</span><div style="text-align: left;"><br></div></font><div style="text-align: left;"><br></div><div style="color: rgb(0, 0, 0); line-height: 1.5; font-family: ±¼¸²; font-size: 9pt;"><b>°ø¹é(whitespace) ¹®ÀÚ Ã£±â</b></div><div style="color: rgb(0, 0, 0); line-height: 1.5; font-family: ±¼¸²; font-size: 9pt;"><div style="line-height: 1.5; font-size: 9pt;">VIM/VI ¿¡µðÅÍ¸¦ ÀÌ¿ë Command Line Mode ¿¡¼­</div><div style="line-height: 1.5; font-size: 9pt;">:set hlsearch</div><div style="line-height: 1.5; font-size: 9pt;"><br></div><div style="line-height: 1.5; font-size: 9pt;">°ø¹é¹®ÀÚ Ã£±â</div><div style="line-height: 1.5; font-size: 9pt;">/\s\+$</div></div><div style="color: rgb(0, 0, 0); line-height: 1.5; font-family: ±¼¸²; font-size: 9pt;"><br></div><div style="color: rgb(0, 0, 0); line-height: 1.5; font-family: ±¼¸²; font-size: 9pt;">¾Æ·¡ ¿¹Á¦´Â ¿ÀÇÂ½ºÅÃ ´ë½¬º¸µå¿¡ ÆÄÀÌ½ã ÄÚµåÁß ÀÓÀÇÀÇ ÅÇ°ø¹éÀ» Ãß°¡ÇÑÈÄ È®ÀÎÇÑ È­¸éÀÔ´Ï´Ù.</div><div style="color: rgb(0, 0, 0); line-height: 1.5; font-family: ±¼¸²; font-size: 9pt;"><img width="533" height="592" style="border: currentColor; border-image: none;" alt="" src="http://www.chonnom.com/data/mw.cheditor/1512/rlXI79r6GsMHtVDj7.png"><br></div><div style="color: rgb(0, 0, 0); line-height: 1.5; font-family: ±¼¸²; font-size: 9pt;"><br></div><div style="color: rgb(0, 0, 0); line-height: 1.5; font-family: ±¼¸²; font-size: 9pt;"><br></div><div style="color: rgb(0, 0, 0); line-height: 1.5; font-family: ±¼¸²; font-size: 9pt;"><strong>°ø¹é¹®ÀÚ ¼öÁ¤</strong><br></div><div style="color: rgb(0, 0, 0); line-height: 1.5; font-family: ±¼¸²; font-size: 9pt;"># sed -i 's/[[:space:]]*$//' &lt;ÆÄÀÏ¸í&gt;</div><div><font face="±¼¸²"><span style="line-height: 18px; font-size: 12px;"><br></span></font></div><div><font face="±¼¸²"><span style="line-height: 18px; font-size: 12px;">¿©·¯°³ÀÇ&nbsp;ÆÄÀÏ¼öÁ¤</span></font></div><div><font face="±¼¸²"><span style="line-height: 18px; font-size: 12px;">#&nbsp;&nbsp;find . -name "&lt;ÆÄÀÏ¸í ÆÐÅÏ&gt;" -type f -print0 | xargs -0 sed -i 's/[[:space:]]*$//'</span></font><font face="±¼¸²"><span style="line-height: 18px; font-size: 12px;"><br></span></font></div>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Wed, 02 Dec 2015 03:09:43 +0900</dc:date>
</item>
<item>
<title>Free Programming Books &amp;#8211; BASH</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=58</link>
<description><![CDATA[<font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">http://teknixx.com/free-programming-books-bash/</span></font><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><h2 style="margin: 0px 0px 14px; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 34px; font-weight: 400; font-stretch: inherit; line-height: 1.3em; vertical-align: baseline; color: rgb(68, 68, 68); word-wrap: break-word; letter-spacing: -0.7px;">Bash Programming Books</h2><ul class="task-list" style="margin: 0px 0px 15px 30px; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 18px; font-stretch: inherit; line-height: 28.7999992370605px; vertical-align: baseline; list-style: none; color: rgb(102, 102, 102);"><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://tldp.org/LDP/abs/html/" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Advanced Bash-&#115;&#99;ripting Guide</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://www.tldp.org/LDP/Bash-Beginners-Guide/html/" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Bash Guide for Beginners</a>&nbsp;by Machtelt Garrels</li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">BASH Programming- Mike G mikkey</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://conqueringthecommandline.com/book/frontmatter" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Conquering the Command Line</a>&nbsp;&#8211; Mark Bates</li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://www.hypexr.org/bash_tutorial.php" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Getting Started with BASH</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://google-styleguide.googlecode.com/svn/trunk/shell.xml" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Google Shell Style Guide</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://mywiki.wooledge.org/BashGuide" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Lhunath¡¯s Bash Guide</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://www.freeos.com/guides/lsst/" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Linux Shell &#115;&#99;ripting Tutorial &#8211; A Beginner¡¯s Handbook</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://learncodethehardway.org/cli/book/" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">The Command Line Crash Course</a>&nbsp;(also a Powershell reference)</li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://linuxcommand.org/lc3_writing_shell_&#115;&#99;ripts.php" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Writing Shell &#115;&#99;ripts</a>&nbsp;&#8211; William E. Shotts, Jr.</li></ul><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 18px; font-stretch: inherit; line-height: 28.7999992370605px; vertical-align: baseline; color: rgb(102, 102, 102);">Source:&nbsp;GitHub.</p><h2 style="margin: 0px 0px 14px; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 34px; font-weight: 400; font-stretch: inherit; line-height: 1.3em; vertical-align: baseline; color: rgb(68, 68, 68); word-wrap: break-word; letter-spacing: -0.7px;">My personal weapon of choice</h2><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 18px; font-stretch: inherit; line-height: 28.7999992370605px; vertical-align: baseline; color: rgb(102, 102, 102);"><a href="http://www.amazon.com/gp/product/0596009658/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0596009658&amp;linkCode=as2&amp;tag=teknixx-20&amp;linkId=6FY7SJHCJEUA65OM" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;"><img src="http://ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;ASIN=0596009658&amp;Format=_SL250_&amp;ID=AsinImage&amp;MarketPlace=US&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=teknixx-20" alt="" border="0" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; transition: opacity 0.2s ease; -webkit-transition: opacity 0.2s ease;"></a><img src="http://ir-na.amazon-adsystem.com/e/ir?t=teknixx-20&amp;l=as2&amp;o=1&amp;a=0596009658" alt="" width="1" border="0" style="margin: 0px !important; padding: 0px; border: none !important; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<a href="http://www.amazon.com/gp/product/0596005954/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0596005954&amp;linkCode=as2&amp;tag=teknixx-20&amp;linkId=SNUP4PCTM23NQUVA" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;"><img src="http://ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;ASIN=0596005954&amp;Format=_SL250_&amp;ID=AsinImage&amp;MarketPlace=US&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=teknixx-20" alt="" border="0" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; transition: opacity 0.2s ease; -webkit-transition: opacity 0.2s ease;"></a><img src="http://ir-na.amazon-adsystem.com/e/ir?t=teknixx-20&amp;l=as2&amp;o=1&amp;a=0596005954" alt="" width="1" border="0" style="margin: 0px !important; padding: 0px; border: none !important; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.amazon.com/gp/product/1430219971/ref=as_li_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1430219971&amp;linkCode=as2&amp;tag=teknixx-20&amp;linkId=YN6Q5NTUIIZHMJXI" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;"><img src="http://ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&amp;ASIN=1430219971&amp;Format=_SL250_&amp;ID=AsinImage&amp;MarketPlace=US&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=teknixx-20" alt="" border="0" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto; transition: opacity 0.2s ease; -webkit-transition: opacity 0.2s ease;"></a><img src="http://ir-na.amazon-adsystem.com/e/ir?t=teknixx-20&amp;l=as2&amp;o=1&amp;a=1430219971" alt="" width="1" border="0" style="margin: 0px !important; padding: 0px; border: none !important; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; max-width: 100%; height: auto;"></p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 18px; font-stretch: inherit; line-height: 28.7999992370605px; vertical-align: baseline; color: rgb(102, 102, 102);">Get it on: &nbsp;Amazon.</p><h2 style="margin: 0px 0px 14px; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 34px; font-weight: 400; font-stretch: inherit; line-height: 1.3em; vertical-align: baseline; color: rgb(68, 68, 68); word-wrap: break-word; letter-spacing: -0.7px;">Bash vulnerabilities</h2><ul style="margin: 0px 0px 15px 30px; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 18px; font-stretch: inherit; line-height: 28.7999992370605px; vertical-align: baseline; list-style: none; color: rgb(102, 102, 102);"><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a href="http://teknixx.com/bash-shellshock-vulnerability-cve-2014-6271/" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;" target="_blank">Shellshock</a></li></ul><h2 style="margin: 0px 0px 14px; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 34px; font-weight: 400; font-stretch: inherit; line-height: 1.3em; vertical-align: baseline; color: rgb(68, 68, 68); word-wrap: break-word; letter-spacing: -0.7px;">Some good bash references</h2><ul style="margin: 0px 0px 15px 30px; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 18px; font-stretch: inherit; line-height: 28.7999992370605px; vertical-align: baseline; list-style: none; color: rgb(102, 102, 102);"><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><span class="official website" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><span class="url" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;"><a class="external text" href="https://www.gnu.org/software/bash/bash.html" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Official website</a></span></span></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="https://www.gnu.org/software/bash/manual/" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Bash Reference Manual</a>&nbsp; (<a class="external text" href="https://www.gnu.org/software/bash/manual/html_node/index.html" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">HTML</a>&nbsp;<a class="external text" href="https://www.gnu.org/software/bash/manual/bash.ps.gz" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">PS</a>&nbsp;<a class="external text" href="https://www.gnu.org/software/bash/manual/bash.pdf" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">PDF</a>)</li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Bash Guide for Beginners</a>&nbsp;article at&nbsp;<a class="mw-redirect" title="The Linux Documentation Project" href="http://en.wikipedia.org/wiki/The_Linux_Documentation_Project" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">The Linux Documentation Project</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://tldp.org/LDP/abs/html/index.html" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Advanced Bash &#115;&#99;ripting Guide</a>&nbsp;article at&nbsp;<a class="mw-redirect" title="The Linux Documentation Project" href="http://en.wikipedia.org/wiki/The_Linux_Documentation_Project" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">The Linux Documentation Project</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://bash.cyberciti.biz/guide/Main_Page" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Linux Shell &#115;&#99;ripting Tutorial (LSST) v2.0 wiki</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://www.bashcookbook.com/bashinfo/" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">¡°The Comprehensive List of bash Reference Documentation and Examples¡±</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://spsneo.com/blog/2009/09/19/bash-history-tips-and-tricks/" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Useful Bash History Tips and Tricks</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://www.computerworld.com.au/index.php/id;1591223321;fp;16;fpid;1;pf;1" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">2008 interview with GNU Bash¡¯s maintainer, Chet Ramey</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://www.geeksww.com/tutorials/operating_systems/linux/tips_and_tricks/working_bash_environment_variables_beginners_linux.php" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Working with BASH environment variables</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://www.galatech.co.uk/index.php/component/content/article/37-blogs/100-how-to-create-a-bash-&#115;&#99;ript" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Video Tutorial for Creating a Bash &#115;&#99;ript</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://www.shell-fu.org/lister.php?tag=bash" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Bash commands and examples</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://www.markus-gattol.name/ws/bash.html#colorized_shell_prompt" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Colorized Bash prompt</a>&nbsp;&#8211; how to set up a colorized Bash prompt</li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="https://code.google.com/p/jbash/" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">jBash Project is a Java Parser for the Bourne Again Shell</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://mywiki.wooledge.org/EnglishFrontPage" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">The ¡®official¡¯ channel FAQ for freenode¡¯s #bash channel is BashFAQ.</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://bashdb.sourceforge.net/" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">BASHDB &#8211; Bash with a built-in debugger.</a></li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://www.digilife.be/quickreferences/QRC/Bash%20Quick%20Reference.pdf" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Bash Quick Reference card</a>&nbsp;&lt;&#8211; Dates from 1999 and version 2.02.0 of BASH. Very old. &#8211;&gt;</li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://ryanstutorials.net/linuxtutorial" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Beginner Linux Command Line Tutorial</a>&nbsp;&#8211; Covers the basics, all the way up to &#115;&#99;ripting.</li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; list-style: square;"><a class="external text" href="http://wiki.altervista.org/cs/bash_shell" rel="nofollow" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(130, 36, 227); text-decoration: none; outline: 0px; transition-duration: 0.2s; -webkit-transition-duration: 0.2s; transition-timing-function: ease; -webkit-transition-timing-function: ease;">Bash tutorial</a>&nbsp;&#8211; A quick tutorial about Bash shell, with the explanation of the most useful commands. Slides provided.</li></ul><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-family: Titillium, Arial, sans-serif; font-size: 18px; font-stretch: inherit; line-height: 28.7999992370605px; vertical-align: baseline; color: rgb(102, 102, 102);">Source: Wikipedia.</p></div>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Thu, 30 Apr 2015 03:08:32 +0900</dc:date>
</item>
<item>
<title>Online Virtual Linux Command Line Terminal</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=57</link>
<description><![CDATA[<font face="±¼¸²"><div style="text-align: left;"><span style="font-size: 12px; line-height: 18px;">http://averma82.blogspot.kr/2012/04/online-virtual-linux-command-line.html</span></div><div style="text-align: left;"><span style="font-size: 12px; line-height: 18px;"><br></span><strong style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px;">Online Virtual Linux Command Line Terminal</strong><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px;">À¥»çÀÌÆ®¸¦ ÅëÇØ ¸®´ª½ºÅÍ¹Ì³Î È¯°æÀ» Á¢¼ÓÇØ¼­ bash shell µîÀ» ÀÛ¾÷ÇÒ¼ö ÀÖ°ÔÇÏ´Â ÆäÀÌÁöÀÔ´Ï´Ù.</div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px;"><br></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px;"><font face="±¼¸²"><span style="line-height: 18px; font-size: 12px;">Website : <a href="http://cb.vu/" target="_blank">http://cb.vu/</a></span></font></div></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px; text-align: left;"><img width="625" height="303" style="border: currentColor; border-image: none;" alt="" src="http://chonnom.com/data/mw.cheditor/1504/RkkAQO67N9l.png"></div><p style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px;"><br></p><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px;"><font face="±¼¸²"><span style="line-height: 18px; font-size: 12px;">Website : <a href="http://www.masswerk.at/jsuix/" target="_blank">http://www.masswerk.at/jsuix/</a></span></font><br></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px; text-align: left;"><img width="615" height="664" style="border: currentColor; border-image: none;" alt="" src="http://chonnom.com/data/mw.cheditor/1504/BQUihVSFhLVkxLWJUOP.png"></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px;"><br></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px; text-align: left;"><img width="640" height="606" class="chimg_photo" id="image_06963793118634801" style="border: currentColor; border-image: none;" alt="" src="http://chonnom.com/data/mw.cheditor/1504/z4CHpkyB6d5BcN.png"></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px;"><br></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 12px; line-height: 18px; text-align: left;"><img width="640" height="587" class="chimg_photo" id="image_0999811073207906" style="border: currentColor; border-image: none;" alt="" src="http://chonnom.com/data/mw.cheditor/1504/7yb4Ekif6odBzyGj2Og4fOFKvc.png"></div></font><font face="±¼¸²" style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><span style="line-height: 18px; font-size: 12px;"><p><br></p></span></font><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="line-height: 18px; font-size: 12px;"><br></span></font></div>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Wed, 29 Apr 2015 15:55:09 +0900</dc:date>
</item>
<item>
<title>sed º¯¼ö°ª Ã³¸®</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=56</link>
<description><![CDATA[<div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">ex)</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">DEV=eth0</span></font></div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">sed -i 's/${DEV}/${DEV}:0/g' ${NET_CONFIG}/ifcfg-${DEV}:0</span></font><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">==&gt; º¯¼ö±âÈ£ ±×´ë·Î Ãâ·Â</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="line-height: 18px;"><b><font color="#ff0000">' &nbsp; '</font></b><span style="font-size: 12px;"> µû¿ÈÇ¥¾È¿¡ º¯¼ö¼±¾ð</span></span></font></div><div><span style="font-family: ±¼¸²; line-height: 18px;"><span style="font-size: 12px;">sed -i 's/</span><font color="#ff0000"><b>'</b></font><span style="font-size: 12px;">${DEV}</span><b><font color="#ff0000">'</font></b><span style="font-size: 12px;">/</span><b><font color="#ff0000">'</font></b><span style="font-size: 12px;">${DEV}:0</span><b><font color="#ff0000">'</font></b><span style="font-size: 12px;">/g' ${NET_CONFIG}/ifcfg-${DEV}:0</span></span></div>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Thu, 18 Dec 2014 13:56:31 +0900</dc:date>
</item>
<item>
<title>sed Æ¯Á¤ÆÐÅÏ ¶óÀÎ ÀÌÀü/´ÙÀ½ ¶óÀÎ»ðÀÔ</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=55</link>
<description><![CDATA[<div><span style="font-size: 12px; line-height: 18px; font-family: ±¼¸²;">a Çà¾Æ·¡ »ðÀÔ</span></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">i ÇàÀ§¿¡ »ðÀÔ</span></font></div><div><br></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">sed -i 's/bits,//g' *.cfg</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">sed -i '/Options/<font color="#ff0000"><b>a</b></font>\ShortLegend[_]: pps\nYLegend[_]: pps' *.cfg</span></font></div>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Mon, 15 Dec 2014 09:53:41 +0900</dc:date>
</item>
<item>
<title>ZFS SCRUB</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=54</link>
<description><![CDATA[<div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">ÁÖ´ÜÀ§ ¹é¾÷</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">22 4 * * 0 root run-parts /etc/cron.weekly</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">zfs_scrub.sh&nbsp;</span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">#!/bin/bash</span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">HOSTNAME=`hostname -s`</span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">POOL="VM_DISK_IMG"</span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">EMAIL="xxxxxxxxx@xxxxxx.com"</span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">STATUS=`/usr/sbin/zpool status $POOL`</span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">echo "About to scrub pool $POOL, current status is: $STATUS "| mailx -s "$HOSTNA</span></font>ME: zpool scrub started on pool $POOL" -r "$º¸³»´Â»ç¶÷ ¸ÞÀÏÁÖ¼Ò" $EMAIL</div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">/usr/sbin/zpool scrub $POOL</span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><br></div>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Mon, 03 Nov 2014 11:18:04 +0900</dc:date>
</item>
<item>
<title>ZFS Health Check Script</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=53</link>
<description><![CDATA[<font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">ÃâÃ³ : <a href="https://calomel.org/zfs_health_check_&#115;&#99;ript.html" target="_blank">https://calomel.org/zfs_health_check_&#115;&#99;ript.html</a></span></font><div><p style="padding: 1em 0em 0.5em; color: rgb(48, 48, 48); font-family: Verdana, sans-serif; font-size: 16px; line-height: 24px;">The ZFS Health shell &#115;&#99;ript will use standard zpool arguments to look at the state of the volumes and drives. We currently check for the following default conditions:</p><ul style="color: rgb(48, 48, 48); font-family: Verdana, sans-serif; font-size: 16px; line-height: 24px;"><li style="padding: 0em 0em 0.5em;"><b>Health</b>&nbsp;- Check if all zfs volumes are not degraded or broken in any way.</li><li style="padding: 0em 0em 0.5em;"><b>Capacity</b>&nbsp;- Make sure all pool capacities are below 80% for best performance.</li><li style="padding: 0em 0em 0.5em;"><b>Errors</b>&nbsp;- Check the columns for READ, WRITE and CKSUM (checksum) drive errors.</li><li style="padding: 0em 0em 0.5em;"><b>Scrub Expired</b>&nbsp;- Check if all volumes have been scrubbed in at least the last 8 days.</li></ul></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><div>#! /usr/local/bin/bash</div><div>#</div><div># Calomel.org&nbsp;</div><div># &nbsp; &nbsp; https://calomel.org/zfs_health_check_&#115;&#99;ript.html</div><div># &nbsp; &nbsp; FreeBSD 9.1 ZFS Health Check &#115;&#99;ript&nbsp;</div><div># &nbsp; &nbsp; zfs_health.sh @ Version 0.15</div><div><br></div><div># Check health of ZFS volumes and drives. On any faults send email. In FreeBSD</div><div># 10 there is supposed to be a ZFSd daemon to monitor the health of the ZFS</div><div># pools. For now, in FreeBSD 9, we will make our own checks and run this &#115;&#99;ript</div><div># through cron a few times a day.</div><div><br></div><div># 99 problems but ZFS aint one</div><div>problems=0</div><div><br></div><div><br></div><div># Health - Check if all zfs volumes are in good condition. We are looking for</div><div># any keyword signifying a degraded or broken array.</div><div><br></div><div>c&#111;&#110;dition=$(/sbin/zpool status | egrep -i '(DEGRADED|FAULTED|OFFLINE|UNAVAIL|REMOVED|FAIL|DESTROYED|corrupt|cannot|unrecover)')</div><div>if [ "${condition}" ]; then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; emailSubject="`hostname` - ZFS pool - HEALTH fault"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; problems=1</div><div>fi</div><div><br></div><div><br></div><div># Capacity - Make sure pool capacities are below 80% for best performance. The</div><div># percentage really depends on how large your volume is. If you have a 128GB</div><div># SSD then 80% is reasonable. If you have a 60TB raid-z2 array then you can</div><div># probably set the warning closer to 95%.&nbsp;</div><div>#</div><div># ZFS uses a copy-on-write scheme. The file system writes new data to</div><div># sequential free blocks first and when the uberblock has been updated the new</div><div># inode pointers become valid. This method is true only when the pool has</div><div># enough free sequential blocks. If the pool is at capacity and space limited,</div><div># ZFS will be have to randomly write blocks. This means ZFS can not create an</div><div># optimal set of sequential writes and write performance is severely impacted.</div><div><br></div><div>maxCapacity=80</div><div><br></div><div>if [ ${problems} -eq 0 ]; then</div><div>&nbsp; &nbsp;capacity=$(/sbin/zpool list -H -o capacity)</div><div>&nbsp; &nbsp;for line in ${capacity//%/}</div><div>&nbsp; &nbsp; &nbsp;do</div><div>&nbsp; &nbsp; &nbsp; &nbsp;if [ $line -ge $maxCapacity ]; then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;emailSubject="`hostname` - ZFS pool - Capacity Exceeded"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;problems=1</div><div>&nbsp; &nbsp; &nbsp; &nbsp;fi</div><div>&nbsp; &nbsp; &nbsp;done</div><div>fi</div><div><br></div><div><br></div><div># Errors - Check the columns for READ, WRITE and CKSUM (checksum) drive errors</div><div># on all volumes and all drives using "zpool status". If any non-zero errors</div><div># are reported an email will be sent out. You should then look to replace the</div><div># faulty drive and run "zpool scrub" on the affected volume after resilvering.</div><div><br></div><div>if [ ${problems} -eq 0 ]; then</div><div>&nbsp; &nbsp;errors=$(/sbin/zpool status | grep ONLINE | grep -v state | awk '{print $3 $4 $5}' | grep -v 000)</div><div>&nbsp; &nbsp;if [ "${errors}" ]; then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; emailSubject="`hostname` - ZFS pool - Drive Errors"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; problems=1</div><div>&nbsp; &nbsp;fi</div><div>fi</div><div><br></div><div><br></div><div># Scrub Expired - Check if all volumes have been scrubbed in at least the last</div><div># 8 days. The general guide is to scrub volumes on desktop quality drives once</div><div># a week and volumes on enterprise class drives once a month. You can always</div><div># use cron to schedule "zpool scrub" in off hours. We scrub our volumes every</div><div># Sunday morning for example.</div><div>#</div><div># Scrubbing traverses all the data in the pool once and verifies all blocks can</div><div># be read. Scrubbing proceeds as fast as the devices allows, though the</div><div># priority of any I/O remains below that of normal calls. This operation might</div><div># negatively impact performance, but the file system will remain usable and</div><div># responsive while scrubbing occurs. To initiate an explicit scrub, use the</div><div># "zpool scrub" command.</div><div>#</div><div># The scrubExpire variable is in seconds. So for 8 days we calculate 8 days</div><div># times 24 hours times 3600 seconds to equal 691200 seconds.&nbsp;</div><div><br></div><div>scrubExpire=691200</div><div><br></div><div>if [ ${problems} -eq 0 ]; then</div><div>&nbsp; &nbsp;currentDate=$(date +%s)</div><div>&nbsp; &nbsp;zfsVolumes=$(/sbin/zpool list -H -o name)</div><div><br></div><div>&nbsp; for volume in ${zfsVolumes}</div><div>&nbsp; &nbsp;do</div><div>&nbsp; &nbsp; if [ $(/sbin/zpool status $volume | egrep -c "none requested") -ge 1 ]; then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; echo "ERROR: You need to run \"zpool scrub $volume\" before this &#115;&#99;ript can monitor the scrub expiration time."</div><div>&nbsp; &nbsp; &nbsp; &nbsp; break</div><div>&nbsp; &nbsp; fi</div><div>&nbsp; &nbsp; if [ $(/sbin/zpool status $volume | egrep -c "scrub in progress|resilver") -ge 1 ]; then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; break</div><div>&nbsp; &nbsp; fi</div><div><br></div><div>&nbsp; &nbsp; ### FreeBSD with *nix supported date format</div><div>&nbsp; &nbsp; &nbsp;#scrubRawDate=$(/sbin/zpool status $volume | grep scrub | awk '{print $15 $12 $13}')</div><div>&nbsp; &nbsp; &nbsp;#scrubDate=$(date -j -f '%Y%b%e-%H%M%S' $scrubRawDate'-000000' +%s)</div><div><br></div><div>&nbsp; &nbsp; ### Ubuntu with GNU supported date format</div><div>&nbsp; &nbsp; scrubRawDate=$(/sbin/zpool status $volume | grep scrub | awk '{print $11" "$12" " $13" " $14" "$15}')</div><div>&nbsp; &nbsp; scrubDate=$(date -d "$scrubRawDate" +%s)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp;if [ $(($currentDate - $scrubDate)) -ge $scrubExpire ]; then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; emailSubject="`hostname` - ZFS pool - Scrub Time Expired. Scrub Needed on Volume(s)"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; problems=1</div><div>&nbsp; &nbsp; &nbsp; &nbsp;fi</div><div>&nbsp; &nbsp;done</div><div>fi</div><div><br></div><div><br></div><div># Notifications - On any problems send email with drive status information and</div><div># capacities including a helpful subject line to root. Also use logger to write</div><div># the email subject to the local logs. This is the place you may want to put</div><div># any other notifications like:</div><div>#</div><div># + Update an anonymous twitter account with your ZFS status (https://twitter.com/zfsmonitor)</div><div># + Playing a sound file or beep the internal speaker</div><div># + Update Nagios, Cacti, Zabbix, Munin or even BigBrother</div><div><br></div><div>if [ "$problems" -ne 0 ]; then</div><div>&nbsp; echo -e "$emailSubject \n\n\n `/sbin/zpool list` \n\n\n `/sbin/zpool status`" | mail -s "$emailSubject" -r "º¸³»´Â»ç¶÷¸ÞÀÏ" "¹Þ´Â»ç¶÷¸ÞÀÏ"</div><div>&nbsp; logger $emailSubject</div><div>fi</div><div><br></div><div>### EOF ###</div></span></font></div>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Wed, 15 Oct 2014 15:52:52 +0900</dc:date>
</item>
<item>
<title>CPU ºÎÇÏ¹ß»ý SCRIPT</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=51</link>
<description><![CDATA[<a href="http://linux.cloudibee.com/2008/11/linux-cpu-hammer-&#115;&#99;ript/" style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;">http://linux.cloudibee.com/2008/11/linux-cpu-hammer-&#115;&#99;ript/</a><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><br></div><div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">root@ubuntu:~# cat loadserver.sh</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">#!/bin/bash</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"># unixfoo.blogspot.com</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">if [ $1 ]; then</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">&nbsp; &nbsp; &nbsp; &nbsp; NUM_PROC=$1</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">else</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">&nbsp; &nbsp; &nbsp; &nbsp; NUM_PROC=10</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">fi</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">for i in `seq 0 $((NUM_PROC-1))`; do</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">&nbsp; &nbsp; &nbsp; &nbsp; awk 'BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}' &amp;</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">done</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">echo "PIDS: `pidof awk`"</span></font></div></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><br></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5;"><br></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">root@ubuntu:~# <font color="#ff0000">sh loadserver.sh 10</font></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><div>root@ubuntu:~# ps -aux |grep awk</div><div><div><div><div>root &nbsp; &nbsp; &nbsp;1385 27.2 &nbsp;0.0 &nbsp;12004 &nbsp; 776 pts/0 &nbsp; &nbsp;R &nbsp; &nbsp;08:52 &nbsp; 0:01 awk BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}</div><div>root &nbsp; &nbsp; &nbsp;1386 21.0 &nbsp;0.0 &nbsp;12004 &nbsp; 772 pts/0 &nbsp; &nbsp;R &nbsp; &nbsp;08:52 &nbsp; 0:00 awk BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}</div><div>root &nbsp; &nbsp; &nbsp;1387 23.0 &nbsp;0.0 &nbsp;12004 &nbsp; 776 pts/0 &nbsp; &nbsp;R &nbsp; &nbsp;08:52 &nbsp; 0:00 awk BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}</div><div>root &nbsp; &nbsp; &nbsp;1388 19.0 &nbsp;0.0 &nbsp;12004 &nbsp; 776 pts/0 &nbsp; &nbsp;R &nbsp; &nbsp;08:52 &nbsp; 0:00 awk BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}</div><div>root &nbsp; &nbsp; &nbsp;1389 24.0 &nbsp;0.0 &nbsp;12004 &nbsp; 776 pts/0 &nbsp; &nbsp;R &nbsp; &nbsp;08:52 &nbsp; 0:00 awk BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}</div><div>root &nbsp; &nbsp; &nbsp;1390 18.7 &nbsp;0.0 &nbsp;12004 &nbsp; 772 pts/0 &nbsp; &nbsp;R &nbsp; &nbsp;08:52 &nbsp; 0:00 awk BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}</div><div>root &nbsp; &nbsp; &nbsp;1391 18.2 &nbsp;0.0 &nbsp;12004 &nbsp; 776 pts/0 &nbsp; &nbsp;R &nbsp; &nbsp;08:52 &nbsp; 0:00 awk BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}</div><div>root &nbsp; &nbsp; &nbsp;1392 24.7 &nbsp;0.0 &nbsp;12004 &nbsp; 776 pts/0 &nbsp; &nbsp;R &nbsp; &nbsp;08:52 &nbsp; 0:00 awk BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}</div><div>root &nbsp; &nbsp; &nbsp;1393 23.5 &nbsp;0.0 &nbsp;12004 &nbsp; 776 pts/0 &nbsp; &nbsp;R &nbsp; &nbsp;08:52 &nbsp; 0:00 awk BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}</div><div>root &nbsp; &nbsp; &nbsp;1394 17.0 &nbsp;0.0 &nbsp;12004 &nbsp; 772 pts/0 &nbsp; &nbsp;R &nbsp; &nbsp;08:52 &nbsp; 0:00 awk BEGIN {for(i=0;i&lt;10000;i++)for(j=0;j&lt;10000;j++);}</div></div></div></div><div><br></div></span></font></div>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Tue, 07 Jan 2014 14:52:53 +0900</dc:date>
</item>
<item>
<title>SHELL ¿¡¼­ Áø¼öº¯È¯</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=40</link>
<description><![CDATA[<div><font face="±¼¸²" size="2">Áø¼öº¯È¯</font></div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><a href="http://coffeenix.net/board_view.php?bd_code=1721" target="_blank">http://coffeenix.net/board_view.php?bd_code=1721</a></span></font>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Tue, 19 Mar 2013 17:01:22 +0900</dc:date>
</item>
<item>
<title>CentOS X-Window ¼³Ä¡</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=39</link>
<description><![CDATA[<div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">#!/bin/bash</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">version=`cat /etc/redhat-release &nbsp;|grep CentOS |awk '{print $3}' |awk -F . '{print $1}'`</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">if [ $version = 5 ] ; then</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">&nbsp; &nbsp; yum -y groupinstall "X Window System"</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">&nbsp; &nbsp; yum -y groupinstall "GNOME Desktop Environment"</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">&nbsp; &nbsp; yum -y install "kde-i18n-Korean" "fonts-korean"</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">else</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">&nbsp; &nbsp; yum -y groupinstall "X Window System" &nbsp;"Desktop"</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">&nbsp; &nbsp; yum -y groupinstall korean-support -x xorg-x11-server-Xorg</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">fi</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">sed -i "s/id\:3/id\:5/g" /etc/inittab</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">/sbin/chkconfig --list |grep "5:on" |awk '{print $1}' |while read service ;do &nbsp;/sbin/chkconfig --level 5 $service off ;done</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">/sbin/chkconfig --list |grep "3:on" |awk '{print $1}' |while read service ;do &nbsp;/sbin/chkconfig --level 5 $service on ;done</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">init 6</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><br></span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;"><b>ÇÑ±ÛÀÔ·Â</b>&nbsp;</span></font></div><div><font face="±¼¸²"><span style="font-size: 12px; line-height: 18px;">CentOS 5 NABI ¼³Ä¡</span></font></div><div style="color: rgb(0, 0, 0); font-family: ±¼¸²; font-size: 9pt; line-height: 1.5; ">CentOS 6 Ctrl + Space º¯È¯°¡´É</div>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Thu, 03 May 2012 10:55:13 +0900</dc:date>
</item>
<item>
<title>Bash Script¿¡¼­ »ç¿ëÇÏ´Â ºñ±³ ¿¬»êÀÚ</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=38</link>
<description><![CDATA[<div style="font-family: µ¸¿ò; text-align: justify; "><div style="line-height: 18px; "><font size="2">ÃâÃ³ :&nbsp;</font><a href="http://mmarine.blog.me/70094622832"><font size="2">http://mmarine.blog.me/70094622832</font></a></div><div style="line-height: 18px; "><br></div><div style="line-height: 18px; "><font size="2">Bash &#115;&#99;ript¿¡¼­ ÀÚÁÖ »ç¿ëÇÏ´Â ºñ±³ ¿¬»êÀÚ</font></div><div style="line-height: 18px; "><font size="2"><br></font></div><div style="line-height: 18px; "><b><font size="2">[ Á¤¼ö ºñ±³ ]</font></b></div><div style="line-height: 18px; "><table class="__se_tbl" se2_tbl_template="14" border="0" cellpadding="0" cellspacing="0" style="text-align: left; "><tbody><tr><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">&nbsp;¿¬»êÀÚ</font></p></td><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">ÀÇ¹Ì&nbsp;</font></p></td><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">Ç¥Çö&nbsp;</font></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-eq</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(°°À½)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ $a -eq $b ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-ne</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(°°Áö ¾ÊÀ½)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ $a -ne $b ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-gt</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(º¸´Ù Å­)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ $a -gt $b ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-ge</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(Å©°Å³ª °°À½)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ $a -ge $b ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-lt</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(º¸´Ù ÀÛÀ½)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ $a -lt $b ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-le</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(ÀÛ°Å³ª °°À½)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ $a -le $b ]</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">&gt;</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(º¸´Ù Å­)</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(($a &gt; $b))</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">&gt;=</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(Å©°Å³ª °°À½)</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(($a &gt;= $b))</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">&lt;</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(º¸´Ù ÀÛÀ½)</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(($a &lt; $b))</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">&lt;=</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 185px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(ÀÛ°Å³ª °°À½)</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 215px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(($a &lt;= $b))</font></span></p></td></tr></tbody></table><font size="2"><br></font></div><div style="line-height: 18px; "><b><font size="2">[ ¹®ÀÚ¿­ ºñ±³ ]</font></b></div><div style="line-height: 18px; "><table class="__se_tbl" se2_tbl_template="14" border="0" cellpadding="0" cellspacing="0" style="text-align: left; "><tbody><tr><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">&nbsp;¿¬»êÀÚ</font></p></td><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">ÀÇ¹Ì&nbsp;</font></p></td><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 213px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">Ç¥Çö</font></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">=</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2"><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">(°°À½)</span><span style="font-family: µ¸¿òÃ¼, dotumche; ">&nbsp;</span></font></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 213px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ "$a" = "$b" ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">==</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(°°À½)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 213px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ "$a" == "$b" ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">!=&nbsp;</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(°°Áö ¾ÊÀ½)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 213px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ "$a" != "$b" ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 140px; height: 20px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-z</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 186px; height: 20px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(¹®ÀÚ¿­ÀÌ "null"ÀÓ. ±æÀÌ°¡ 0)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 213px; height: 20px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ -z "$a" ]</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">! -z</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(¹®ÀÚ¿­ÀÌ "null"ÀÌ ¾Æ´Ô.)</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 213px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ ! -z "$a" ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-n</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2"><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">(¹®ÀÚ¿­ÀÌ&nbsp;"null"ÀÌ ¾Æ´Ô.)</span><span style="font-family: µ¸¿òÃ¼, dotumche; ">&nbsp;</span></font></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 213px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ -n "$a" ]</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 140px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">&gt;</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 186px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2"><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">(</span><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">ASCII°ªÀÌ</span><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">&nbsp;º¸´Ù Å­.)</span></font></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 213px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [[ "$a" &gt; "$b" ]]</font></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ "$a" \&gt; "$b" ]</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 140px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">&lt;</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 186px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2"><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">(</span><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">ASCII°ªÀÌ</span><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">&nbsp;º¸´Ù ÀÛÀ½.)</span></font></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 213px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [[ "$a" &lt; "$b" ]]</font></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ "$a" \&lt; "$b" ]</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); "><b><span style="font-family: µ¸¿òÃ¼, dotumche; background-color: rgb(255, 0, 0); color: rgb(255, 255, 255); "><font size="2">Âü°í</font></span></b></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span style="font-family: µ¸¿òÃ¼, dotumche; "><font size="2">&nbsp;</font></span></p></td><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 213px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span style="font-family: µ¸¿òÃ¼, dotumche; "><font size="2">&nbsp;</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">[[ "$a" == a* ]]</font></span></p></td><td class="" rowspan="1" colspan="2" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 407px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">$a °¡ "a"·Î ½ÃÀÛÇÏ¸é Âü (ÆÐÅÏ ¸ÅÄª)</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">[[ "$a" == "a*" ]]</font></span></p></td><td class="" rowspan="1" colspan="2" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 407px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">$a °¡ "a*" ¿Í °°´Ù¸é Âü</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">[ "$a" == a* ]</font></span></p></td><td class="" rowspan="1" colspan="2" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); color: rgb(61, 118, 171); width: 407px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">Àß¸øµÈ Ç¥Çö</font></span></p></td></tr><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">[&nbsp;"$a" == "a*" ]</font></span></p></td><td class="" rowspan="1" colspan="2" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 407px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">$a °¡ "a*" ¿Í °°´Ù¸é Âü</font></span></p></td></tr></tbody></table></div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 18px; "><font size="2"><br></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 18px; "><b><font size="2">[ º¹ÇÕ ºñ±³ ]</font></b></p><div style="line-height: 18px; "><table class="__se_tbl" border="0" cellpadding="0" cellspacing="0" se2_tbl_template="14" style="text-align: left; "><tbody><tr><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">&nbsp;¿¬»êÀÚ</font></p></td><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 187px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">ÀÇ¹Ì&nbsp;</font></p></td><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 209px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">Ç¥Çö&nbsp;</font></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-a</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 187px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(³í¸® and)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 209px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font class="Apple-style-span" color="#000000" size="2"><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">if [ $a -eq 0 -a $b -eq 1 ]</span></font></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 140px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-o</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 187px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(³í¸® or)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 209px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ $a -eq 0 -o $b -eq 1 ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 140px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">&amp;&amp;</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 187px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(³í¸® and)</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 209px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ $a -eq 0 ] &amp;&amp; [ $b -eq 1 ]</font></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [[ $a -eq 0 &amp;&amp; $b -eq 1 ]]</font></span></p></td></tr><tr><td class="" rowspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 140px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">||</font></span></p></td><td class="" rowspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 187px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">(³í¸® or)</font></span></p></td><td class="" rowspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 209px; height: 36px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font class="Apple-style-span" color="#666666" size="2"><span style="font-family: µ¸¿òÃ¼, dotumche; ">if [ $a -eq 0 ] || [ $b -eq 1 ]</span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font class="Apple-style-span" color="#666666" size="2"><span style="font-family: µ¸¿òÃ¼, dotumche; ">if [[ $a -eq 0 || $b -eq 1 ]]</span></font></p></td></tr></tbody></table></div><div style="line-height: 18px; "><font size="2"><br></font></div><div style="line-height: 18px; "><b><font size="2">[ ÆÄÀÏ ºñ±³ ]</font></b></div><div style="line-height: 18px; "><div style="line-height: 1.5; "><table class="__se_tbl" border="0" cellpadding="0" cellspacing="0" se2_tbl_template="14" style="text-align: left; "><tbody><tr><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">&nbsp;¿¬»êÀÚ</font></p></td><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">ÀÇ¹Ì&nbsp;</font></p></td><td style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(70, 105, 151); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(70, 105, 151); background-color: rgb(98, 132, 171); color: rgb(255, 255, 255); width: 209px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font size="2">Ç¥Çö&nbsp;</font></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-d</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font class="Apple-style-span" face="µ¸¿òÃ¼, dotumche" size="2">Directory</font></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); width: 209px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font class="Apple-style-span" color="#000000" size="2"><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">if [ -d FILE ]</span></font></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">-f</font></span></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font class="Apple-style-span" face="µ¸¿òÃ¼, dotumche" size="2">File</font></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 209px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ -f FILE ]</font></span></p></td></tr><tr><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font class="Apple-style-span" face="µ¸¿òÃ¼, dotumche" size="2">-e</font></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font class="Apple-style-span" face="µ¸¿òÃ¼, dotumche" size="2">Exist</font></p></td><td class="" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); width: 209px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: rgb(61, 118, 171); "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; "><font size="2">if [ -e FILE ]</font></span></p></td></tr><tr><td class="" rowspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font class="Apple-style-span" face="µ¸¿òÃ¼, dotumche" size="2">-r</font></p></td><td class="" rowspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); width: 186px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><font class="Apple-style-span" face="µ¸¿òÃ¼, dotumche" size="2">Readable</font></p></td><td class="" rowspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); background-color: rgb(246, 248, 250); width: 209px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; color: rgb(61, 118, 171); "><font class="Apple-style-span" color="#666666" size="2"><span style="font-family: µ¸¿òÃ¼, dotumche; ">if [ -r FILE ]</span></font></p></td></tr></tbody></table><table class="__se_tbl" border="0" cellpadding="0" cellspacing="0" se2_tbl_template="14" style="text-align: left; color: rgb(0, 0, 0); font-size: 12px; line-height: 18px; "><tbody><tr><td class="" rowspan="1" colspan="1" style="padding-top: 3px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(235, 235, 235); color: rgb(61, 118, 171); background-color: rgb(246, 248, 250); width: 141px; height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5; "><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: µ¸¿òÃ¼, dotumche; ">-w</span></table>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Thu, 15 Mar 2012 10:48:32 +0900</dc:date>
</item>
<item>
<title>3ware RAID Monitoring [SMS]</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=36</link>
<description><![CDATA[<DIV>#!/bin/bash<BR>DATE=`date +%Y-%m%d-%H%M`<BR>SMS_DATE=`date +%Y%m%d%H%M%S`<BR>SMS_QUERY="xxxxxxxxxxxxxxxxxxxxx"<BR>RAID_CHECK=`/usr/local/bin/tw_cli info |/bin/awk '{print $1}' |/bin/grep&nbsp; -w "c[0-9]" |while read a; do /usr/local/bin/tw_cli info $a ;done&nbsp;&nbsp; |/bin/egrep -v -i '\--|OK|RAID|Port|Unit' |/bin/sed '/^[[:space:]]*$/d' |/bin/awk '{print "Port:"$1, " Status:"$2, $4, $5, " Serial:"$7}'`<BR>SMS_MSG="RAID ERROR [`/bin/hostname`] ${RAID_CHECK}"</DIV>
<DIV><BR>if [ -z "${RAID_CHECK}" ]; then<BR>exit;</DIV>
<DIV>else<BR>echo "${DATE} RAID ERROR ${SMS_MSG}" &gt;&gt; /var/log/raid_check.log<BR>echo "${SMS_MSG}"<BR>echo "¹®ÀÚ¹ß¼Û Äõ¸®"</DIV>
<DIV>fi</DIV><!--"<-->]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Wed, 10 Aug 2011 14:32:59 +0900</dc:date>
</item>
<item>
<title>´Ù¾çÇÑ ¹®ÀÚ¿­ °Ë»ö</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=35</link>
<description><![CDATA[<div>ÃâÃ³ : <a href="http://blog.syszone.co.kr/642?category=17">http://blog.syszone.co.kr/642?category=17</a></div>
<div>&nbsp;</div>
<div>¹®ÀÚ¿­Ã£±â ¹æ¹ý 1 - ¿µ¾î¸¸ ÁÖ·Î °¡´É<br># grep -rw "Ã£´Â¹®ÀÚ¿­" ./ <br><br>¹®ÀÚ¿­Ã£±â ¹æ¹ý 2 - ´ë/¼Ò¹®ÀÚ ±¸ºÐ ¾ÈÇÏ°í °Ë»ö<br># grep -i -l "Ã£´Â¹®ÀÚ¿­" * -r 2&gt; /dev/null <br><br>¹®ÀÚ¿­Ã£±â ¹æ¹ý 3 - ÇÑ±Û, ¿µ¾î ¸ðµÎ °¡´É<br># find . -exec grep -l "Ã£´Â¹®ÀÚ¿­" {} \\; 2&gt;/dev/null <br><br>¹®ÀÚ¿­Ã£±â ¹æ¹ý 4 - ÇÑ±Û,¿µ¾î, ´ë¼Ò¹®ÀÚ ¾È°¡¸®°í °Ë»ö<br># find . -exec grep -i -l "Ã£À»¹®ÀÚ¿­" {} \\; 2&gt;/dev/null <br><br>¹®ÀÚ¿­Ã£Àº ÈÄ Ä¡È¯<br># find . -exec perl -pi -e 's/Ã£À»¹®ÀÚ¿­/¹Ù²Ü¹®ÀÚ¿­/g' {} \\; 2&gt;/dev/null <br><br>ÆÄÀÏ¸í Ã£±â<br># find / -name ÆÄÀÏ¸í -type f <br><br>ÆÄÀÏ¸í Ã£±â(´ë¼Ò¹®ÀÚ ±¸º°¾øÀ½)<br># find / -iname ÆÄÀÏ¸í -type f <br><br>µð·ºÅä¸® Ã£±â<br># find / -name ÆÄÀÏ¸í -type d <br><br>µð·ºÅä¸® Ã£±â(´ë¼Ò¹®ÀÚ ±¸º°¾øÀ½)<br># find / -iname ÆÄÀÏ¸í -type d <br><br><br><br><br>ÇÏÀ§ µð·ºÅä¸®¿¡ ¸ðµÎ Æ÷ÇÔÇÏ¿© ¹®ÀÚ¿­ Ã£±â <br>grep -rl [¹®ÀÚ¿­] * <br><br>r ¿É¼ÇÀÌ ¾ø´Ù¸é<br>find . * -exec grep -n [¹®ÀÚ¿­] {}\\; -print <br><br>´õ Âª°íµµ È¿°úÀûÀÎ ¹æ¹ý<br>grep "string"'find . -type ' <br><br><br>±×·±µ¥ ÀÌ´Â Á¶°Ç¿¡ ¸Â´Â ÆÄÀÏÀÇ °³¼ö°¡ ¸¹¾ÆÁö¸é ½©ÀÇ ¸í·ÉÇà ¹öÆÛÀÇ ¹üÀ§¸¦ ¹þ¾î³ª¹Ç·Î ¹®Á¦°¡µÉ ¼ÒÁö°¡ ÀÖ´Ù. ¸í·ÉÇà ¹öÆÛÀÇ ¿À¹öÇÃ·Î¿ì¸¦ ¹æÁöÇÏ±â À§ÇØ¼± ´ÙÀ½°ú °°ÀÌ ÇÏ¸é µÈ´Ù.<br><br>find . -type f | xargs grep "string" <br><br><br>±×·±µ¥ ÀÌ ¹æ¹ýÀº ÆÄÀÏ ÀÌ¸§¿¡ °ø¹éÀÌ µé¾î°¥ °æ¿ì ¹®Á¦°¡ »ý±æ ¼ö ÀÖ´Ù. ±×·³ ´ÙÀ½°ú °°ÀÌ ÇØº¸ÀÚ.<br>find . -type f -print0 | xargs -0 grep "string" <br><br><br>find´Â ½Éº¼¸¯ ¸µÅ©µÈ µð·ºÅä¸®¿¡ ´ëÇØ¼­´Â ±âº»ÀûÀ¸·Î °Ë»öÀ» ½Ç½ÃÇÏÁö ¾ÊÀ¸´Ï -follow¿É¼ÇÀ» »ç¿ëÇØ¾ßÇÒ °æ¿ìµµ ÀÖ´Ù´Â °ÍÀ» ¾Ë¾ÆµÐ´Ù.<br><br>¸í·ÉÇà ¹öÆÛ¿À¹öÇÃ·Î¿ì¸¦ ¹æÁöÇÏ´Â ¹æ¹ýÀº ´ÙÀ½°ú °°Àº ¹æ¹ýµµ ÀÖ´Ù.<br><br>find . -type f -exec grep -l"string" {}¡¬; <br><br><br>grep¿¡¼­ '-l'¿É¼ÇÀº stringÀ» Æ÷ÇÔÇÏ´Â ÆÄÀÏ¸íÀ» ³ªÅ¸³»ÁØ´Ù. ÀÌ·± °Ë»öÀ» Æ¯Á¤ ÆÄÀÏµé¿¡ ´ëÇØ¼­ ÇàÇÏ±â À§ÇØ¼­´Â -type¿Í -name¿É¼ÇÀ» ¾µ ¼ö ÀÖ´Ù.<br>find . ¡¬(-type f -name "*¡¬.html"¡¬) -exec grep -l "string" {}¡¬; <br><br><br>ÀÌ°ÍÀº htmlÀÇ È®ÀåÀÚ¸¦ °¡Áö´Â ¸ðµç ÆÄÀÏ¿¡ ´ëÇØ¼­ "string"À» Æ÷ÇÔÇÏ´ÂÁö ¾Ë¾Æº¸°í Æ÷ÇÔÇÏ°í ÀÖ´Â ÆÄÀÏ¸íÀ» Ãâ·ÂÇØÁØ´Ù.<br><br>À§ÀÇ ¹æ¹ýµéÀº "¾î¶»°Ô ¼­ºêµð·ºÅä¸®¿¡ ÀÖ´Â ÆÄÀÏµé¿¡ ´ëÇØ¼­ grepÀ» ½ÇÇàÇØÁÙ ¼ö ÀÖ´Â°¡?"ÇÏ´Â ¹®Á¦¿¡ °üÇÑ ¿©·¯ °¡Áö ¹æ¹ýµéÀº ¸Å¿ì À¯¿ëÇÏ±ä ÇÏÁö¸¸ °Ë»öÀ» ½Ç½ÃÇÏ´Â µð·ºÅä¸®¿¡ ¹ÙÀÌ³Ê¸® ÆÄÀÏÀÌ ÀÖÀ» °æ¿ì¿¡´Â ÅÍ¹Ì³ÎÀ» Á¦¾îÇÏÁö ¸øÇÏ´Â ¹®Á¦°¡ »ý±æ ¼ö ÀÖ´Ù. ¿Ö³ÄÇÏ¸é ¹ÙÀÌ³Ê¸® ÆÄÀÏÀÇ ¸î¸î Á¦¾î ¹®ÀÚµé(Control Characters)ÀÌ ÅÍ¹Ì³ÎÀ» ±×·¡ÇÈ ¸ðµå·Î ¹Ù²ã³õÀ» ¼ö ÀÖ±â ¶§¹®ÀÌ´Ù. ¹°·Ð ÀÌ·¸°Ô µÇ¾úÀ» °æ¿ì ÅÍ¹Ì³ÎÀ» ´Ù½Ã ¹Ù·ÎÀâ´Â ¹æ¹ýÀÌ ÀÖ±ä ÇÏÁö¸¸ ¾Æ¹«·¡µµ °¡Àå ÁÁÀº ¹æ¹ýÀº ±×·¯ÇÑ ÀÏÀÌ ¾øµµ·Ï Ã³À½ºÎÅÍ ¹æÁöÇÏ´Â °ÍÀÌ °¡Àå ÁÁÀ» °ÍÀÌ´Ù.<br>ÀÌÁ¦ È­¸é¿¡ ÂïÇô³ª¿Ã ¼ö ¾ø´Â ¹®ÀÚµéÀ» ¸ðµÎ ¾ø¾Öº¸ÀÚ. ¾îÂ·µç ÀÐÀ» ¼ö´Â ¾øÁö¸¸ ´ÙÀ½°ú °°Àº ¸í·ÉÀ» ³»·Áº¸¶ó.<br><br>sed -e 's/[^-~][^-~]*//g' <br><br>ÀÌ ¸í·ÉÀº È­¸é¿¡ Ãâ·ÂµÉ ¼ö ¾ø´Â (Á¦¾î) ¹®ÀÚµéÀ» ±×³É ½ºÆäÀÌ½ºµé·Î ¹Ù²ã ¹ö¸°´Ù. ÀÌ ¸í·ÉÀº ÆÄÀÌÇÁ¸¦ ÀÌ¿ëÇÏ¿© ½±°Ô ´Ù¸¥ ¸í·É¾îµé°ú °áÇÕÇØ¼­ »ç¿ëÇÒ ¼ö ÀÖ´Ù. ¿©±â °£´ÜÇÑ ½© ½ºÅ©¸³Æ®°¡ ÀÖ´Ù. ÀÌ°ÍÀ» grepfind¶ó°í ÀÌ¸§ºÙ¿©¼­ »ç¿ëÇÒ ¼ö ÀÖ´Ù.<br><br>#!/bin/sh <br>#save this in a file called grepfind and do a "chmod 755 grepfind" <br># <br>if test $@ = 0 -o "$1" = "-h" -o "$1" = "-help" ; then <br>echo 'grepfind ¦¡ recursively descends directories and egrep all files ' <br>echo <br>echo 'Usage: grepfind [-help][-h](start_directory] egrep_search_pattern' <br>echo <br>echo 'The surrent directory is used as start_directory if parameter' <br>echo 'start_directory is omitted. The search is case insensitive.' <br>echo 'Multiple occurrences of control characters are replaced by a single' <br>echo 'space. This makes it possible to grep around in files that contain' <br>echo 'binary data and strings without setting the terminal accidently' <br>echo 'to graphics mode.' <br>echo <br>echo 'Example : grepfind/home "hello world" <br>else <br>if ["$2" = "" ];then <br>find . -type f -exec egrep -i "$1" /dev/null {} ¡¬;|sed -e 's/[^-~][^-~]*//g' <br>else <br>if [-d "$1" ] ;then <br>find $1 -type f -exec egrep -i "$2" /dev/null {} ¡¬;|sed -e 's/[^-~][^-~]*//g' <br>else <br>echo "ERROR: $1 is not a directory" <br>fi <br>fi <br>fi <br>#_END_OF_grepfind <br></div>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Wed, 22 Jun 2011 22:06:05 +0900</dc:date>
</item>
<item>
<title>½Ã½ºÅÛ ½Ç½Ã°£ ¸ð´ÏÅÍ¸µ (Æ®·¡ÇÈ, ¸Þ¸ð¸®, SWAP)</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=33</link>
<description><![CDATA[<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD>
<DIV><FONT color=#ffffff size=2>#!/bin/sh<BR>#</FONT></DIV>
<DIV><FONT color=#ffffff size=2>data_file=/proc/net/dev<BR>meminfo=/proc/meminfo<BR>if_dev1=eth1<BR>if_dev2=eth2<BR>if_ipaddr1=`ifconfig $if_dev1 | grep "inet addr" | cut -d: -f2 | awk '{print $1}'`<BR>if_ipaddr2=`ifconfig $if_dev1 | grep "inet addr" | cut -d: -f2 | awk '{print $1}'`<BR>interval=$1</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2># check to system resources<BR>cpu_each=`grep 'processor' /proc/cpuinfo&nbsp; | wc -l`</FONT></DIV>
<DIV><FONT color=#ffffff size=2>mem_total=`grep "MemTotal" $meminfo | cut -d: -f2 | awk '{print $1}'`<BR>mem_t=$(echo "scale=0;$mem_total/1000" | bc)<BR>mem_dt="$mem_t MB"<BR>mem_free=`grep "MemFree" $meminfo | cut -d: -f2 | awk '{print $1}'`<BR>mem_usage=$(echo "scale=1;$mem_total-$mem_free" | bc)<BR>mem_u=$(echo "scale=0;$mem_usage/1000" | bc)<BR>mem_du="$mem_u MB"</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>swap_total=`grep "SwapTotal" $meminfo | cut -d: -f2 | awk '{print $1}'`<BR>swap_free=`grep "SwapFree" $meminfo | cut -d: -f2 | awk '{print $1}'`<BR>swap_usage=$(echo "scale=1;$swap_total-$swap_free" | bc)<BR>swap_u=$(echo "scale=0;$swap_usage/1000" | bc)<BR>swap_du="$swap_u MB"<BR>swap_t=$(echo "scale=0;$swap_total/1000" | bc)<BR>swap_dt="$swap_t MB"</FONT></DIV>
<DIV><BR><FONT color=#ffffff size=2>if [ ! "$1" ]; then<BR>&nbsp;&nbsp;&nbsp; interval=1<BR>fi</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>while :<BR>do<BR>&nbsp;&nbsp;&nbsp; clear</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # Received<BR>&nbsp;&nbsp;&nbsp; bps_r_1=`grep $if_dev1 $data_file | cut -d: -f2 | awk '{print $1}'`<BR>&nbsp;&nbsp;&nbsp; pkt_r_1=`grep $if_dev1 $data_file | cut -d: -f2 | awk '{print $2}'`</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # Trans<BR>&nbsp;&nbsp;&nbsp; bps_t_1=`grep $if_dev1 $data_file | cut -d: -f2 | awk '{print $9}'`<BR>&nbsp;&nbsp;&nbsp; pkt_t_1=`grep $if_dev1 $data_file | cut -d: -f2 | awk '{print $10}'`</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; sleep $interval</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # Received<BR>&nbsp;&nbsp;&nbsp; bps_r_2=`grep $if_dev1 $data_file | cut -d: -f2 | awk '{print $1}'`<BR>&nbsp;&nbsp;&nbsp; pkt_r_2=`grep $if_dev1 $data_file | cut -d: -f2| awk '{print $2}'`</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # Trans<BR>&nbsp;&nbsp;&nbsp; bps_t_2=`grep $if_dev1 $data_file | cut -d: -f2 | awk '{print $9}'`<BR>&nbsp;&nbsp;&nbsp; pkt_t_2=`grep $if_dev1 $data_file | cut -d: -f2 | awk '{print $10}'`</FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; bps_r_3=$(echo "scale=3; $bps_r_2-$bps_r_1" | bc)<BR>&nbsp;&nbsp;&nbsp; bps_t_3=$(echo "scale=3; $bps_t_2-$bps_t_1" | bc)<BR>&nbsp;&nbsp;&nbsp; pkt_r_3=$(echo "scale=3; $pkt_r_2-$pkt_r_1" | bc)<BR>&nbsp;<FONT color=#ffffff>&nbsp;&nbsp; pkt_t_3=$(echo "scale=3; $pkt_t_2-$pkt_t_1" | bc)<BR>&nbsp;</FONT></FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # BPS<BR>&nbsp;&nbsp;&nbsp; if [ $bps_r_3 -lt "1000" ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bps_r_4=$(echo $bps_r_3)<BR></FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; #&nbsp;Kbps<BR>&nbsp;&nbsp;&nbsp; elif [ $bps_r_3 -gt "1000" -o $bps_r_3 -lt "1000000" ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bps_r_4=$(echo "scale=3; $bps_r_3 / 1000" | bc)<BR></FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # Mbsp<BR>&nbsp;&nbsp;&nbsp; elif [ $bps_r_3 -gt "1000000" -o $bps_r_3 -lt "1000000000" ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bps_r_4=$(echo "scale=3; $bps_r_3 / 1000000" | bc)<BR>&nbsp;&nbsp;&nbsp; else<BR></FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # Gbsp<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bps_r_4=$(echo "scale=3; $bps_r_3 / 1000000000" | bc)<BR>&nbsp;&nbsp;&nbsp; fi</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # bps<BR>&nbsp;&nbsp;&nbsp; if [ $bps_t_3 -lt "1000" ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bps_t_4=$(echo $bps_t_3)<BR></FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # kbps<BR>&nbsp;&nbsp;&nbsp; elif [ $bps_t_3 -gt "1000" -o $bps_t_3 -lt "1000000" ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bps_t_4=$(echo "scale=3; $bps_t_3 / 1000" | bc)<BR></FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # mbsp<BR>&nbsp;&nbsp;&nbsp; elif [ $bps_t_3 -gt "1000000" -o $bps_t_3 -lt "1000000000" ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bps_t_4=$(echo "scale=3; $bps_t_3 / 1000000" | bc)<BR>&nbsp;&nbsp;&nbsp; else<BR></FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; # gbsp<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bps_t_4=$(echo "scale=3; $bps_t_3 / 1000000000" | bc)<BR>&nbsp;&nbsp;&nbsp; fi</FONT></DIV>
<DIV><BR><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; echo IP Addr : $if_ipaddr1<BR>&nbsp;&nbsp;&nbsp; echo Mem Usage : $mem_du / $mem_dt , Swap Usage : $swap_du / $swap_dt<BR>&nbsp;&nbsp;&nbsp; echo RX bps : $bps_r_4 bps , RX pps : $pkt_r_3&nbsp; pps<BR>&nbsp;&nbsp;&nbsp; echo TX bps : $bps_t_4 bps , TX pps : $pkt_t_3 pps</FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; sleep 1<BR>done</FONT></DIV></TD></TR></TBODY></TABLE>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><B>½ÇÇàÈ­¸é</B></DIV>
<DIV style="TEXT-ALIGN: center"><IMG style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-TOP: medium none; BORDER-RIGHT: medium none" alt="" src="http://www.chonnom.com/data/mw.cheditor/1104/JbVAUEyDNBYn6w5ARhryOmHsk2Vmh.jpg" width=392 height=81></DIV><BR>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Fri, 01 Apr 2011 15:13:25 +0900</dc:date>
</item>
<item>
<title>½ÎÀÌÆ® ±Ü¾î¿À±â</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=32</link>
<description><![CDATA[<DIV>600°³ÀÇ À¥È£½ºÆÃ ½ÎÀÌÆ®¸¦ ¸¸µéÀÏÀÌ ÀÖ¾î¼­ »Ì¾ÆµÐ µµ¸ÞÀÎ ¸®½ºÆ®¸¦ °¡Áö°í ÆäÀÌÁö¸¦ ±Ü¾î¿À´Â ½ºÅ©¸³Æ®´Ù.</DIV>
<DIV>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD>
<DIV><FONT color=#ffffff size=2>#!/bin/bash</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>mkdir -p wwwdata<BR>cd wwwdata</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>grep http ../url.dat&nbsp;| while read url extra ; do<BR>wget&nbsp; -r -Q30M $url<BR>done<BR></FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2># url.dat ÆÄÀÏ¿¡´Â ÃßÃâÇØµÐ µµ¸ÞÀÎ ¸®½ºÆ®</DIV></FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>&nbsp;</DIV>
<DIV>wget ¿É¼ÇÀº ¾Æ·¡¸µÅ©¸¦ Âü°íÇÏ¼¼¿ä</DIV>
<DIV><A href="http://chonnom.com/bbs/board.php?bo_table=B19&amp;wr_id=156">http://chonnom.com/bbs/board.php?bo_table=B19&amp;wr_id=156</A></DIV>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Fri, 01 Apr 2011 15:03:36 +0900</dc:date>
</item>
<item>
<title>FTP ¾÷·Îµå  (mput)</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=31</link>
<description><![CDATA[<DIV>FTP ¾÷·Îµå ½ºÅ©¸³Æ®ÀÔ´Ï´Ù. </DIV>
<DIV>&nbsp;- ÇÏÀ§ µð·ºÅä¸®¸¦ Æ÷ÇÔÇØ¼­ ¿Ã¸®¸ç ¿©·¯ ftp »çÀÌÆ®¿¡ ¼Ò½º¸¦ ¿Ã¸®´Â ¹æ¹ýÀÔ´Ï´Ù.</DIV>
<DIV>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD>
<DIV><FONT color=#ffffff size=2>&nbsp;#!/bin/bash</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>NUM=76&nbsp; # ½ÃÀÛ¾ÆÀÌÇÇ<BR>END_NUM=81&nbsp; # ¸¶Áö¸· ¾ÆÀÌÇÇ<BR>NET=115.xx.xx<BR></FONT></DIV>
<DIV><FONT color=#ffffff size=2>USER=xxxxxx<BR>PW=xxxxx<BR>path=/home/webhosting/web1_backup</FONT></DIV>
<DIV><FONT color=#ffffff size=2>echo "start " &gt; /root/ip.log</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>### upload-list ¿¡´Â Æú´õ¸®½ºÆ® ÁöÁ¤</FONT></DIV>
<DIV><FONT color=#ffffff size=2>cat upload-list |while read a ; do<BR>&nbsp;&nbsp;&nbsp; if [ $NUM -ge $END_NUM ] ; then<BR>&nbsp;&nbsp;&nbsp; exit</FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp; IP=$NET.$NUM<BR>&nbsp;&nbsp;&nbsp; cd $path/$a<BR>&nbsp;&nbsp;&nbsp; find&nbsp; -type d &gt; directory.list&nbsp;&nbsp; #&nbsp;ÇÏÀ§µð·ºÅä¸® È®ÀÎ<BR>&nbsp;&nbsp;&nbsp; echo "$IP&nbsp;&nbsp; /&nbsp;&nbsp; $path/$a " &gt;&gt; /root/ip.log</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>### ftp ¾÷·Îµå<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for subdir in `cat directory.list`<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ftp -n $IP &lt;&lt; EOF<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; open ${IP}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user ${USER} ${PW}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bi<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prom<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mkdir ${subdir}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cd ${subdir}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lcd ${subdir}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mput *</FONT></DIV>
<DIV><FONT color=#ffffff size=2>EOF<BR>&nbsp;&nbsp;&nbsp; done</FONT></DIV>
<DIV><BR><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp; let NUM=$NUM+1<BR>rm -f directory.list<BR>&nbsp;&nbsp;&nbsp; fi<BR>done</FONT></DIV></TD></TR></TBODY></TABLE></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Wed, 23 Mar 2011 16:03:26 +0900</dc:date>
</item>
<item>
<title>¹é¾÷½ºÅ©¸³Æ® (SAMBA) rsync + mysqldump + mysql tar + home tar</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=30</link>
<description><![CDATA[<DIV><B>SAMBA ¸¶¿îÆ® µð½ºÅ©·Î ¹é¾÷</B></DIV>
<DIV>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD><FONT color=#ffffff size=2>&nbsp;[root@chonnom root]# df -Th<BR>Filesystem&nbsp;&nbsp;&nbsp; Type&nbsp;&nbsp;&nbsp; Size&nbsp; Used Avail Use% Mounted on<BR>/dev/sda1&nbsp;&nbsp;&nbsp;&nbsp; ext3&nbsp;&nbsp;&nbsp;&nbsp; 71G&nbsp; 6.0G&nbsp;&nbsp; 61G&nbsp;&nbsp; 9% /<BR>tmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tmpfs&nbsp;&nbsp;&nbsp; 947M&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 947M&nbsp;&nbsp; 0% /dev/shm<BR>//KB2.SMILESERV.COM/KB212308<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cifs&nbsp;&nbsp;&nbsp; 100G&nbsp; 1.5G&nbsp;&nbsp; 99G&nbsp;&nbsp; 2% /SMILESERV_100G_BACKUP</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>&nbsp;</DIV>
<DIV><B>backup_info (¹é¾÷ÇÒ µ¥ÀÌÅ¸Á¤º¸)</B></DIV>
<DIV><B>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD>
<DIV><FONT color=#ffffff size=2>#!/bin/bash</FONT></DIV>
<DIV><FONT color=#ffffff size=2>today=`date +%Y-%m%d`;<BR>sysdtime=`date +%Y-%m%d-%H%M`;<BR>Mount_DIR=/SMILESERV_100G_BACKUP</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2># Rsync Clon Backup<BR>rsync_src=/home</FONT></DIV>
<DIV><FONT color=#ffffff size=2>rsync_dst=$Mount_DIR/rsync</FONT></DIV>
<DIV><BR><FONT color=#ffffff size=2># MYSQL Backup<BR>mysql_rootpasswd="root";<BR>mysql_host="localhost"<BR>mysql_backup_period=5;<BR>reportmailto="";</FONT></DIV>
<DIV><FONT color=#ffffff size=2>mysql_data_src=/usr/local/mysql/var;<BR>mysql_dst="$Mount_DIR/tar/mysql";</FONT></DIV>
<DIV><FONT color=#ffffff size=2>mysql_dump="/usr/local/mysql/bin/mysqldump";<BR>mysql_show="/usr/local/mysql/bin/mysqlshow";</FONT></DIV>
<DIV><BR><FONT color=#ffffff size=2># Directory Backup<BR>home_backup_period=30<BR>full_backup_week="Sun|ÀÏ"<BR>home_src="/home"<BR>home_dst="$Mount_DIR/tar/home"<BR>home_dst_full="$Mount_DIR/tar/home/full";<BR>home_dst_difference="$Mount_DIR/tar/home/difference";</FONT></DIV></TD></TR></TBODY></TABLE></B></DIV>
<DIV><B></B>&nbsp;</DIV>
<DIV><B></B>&nbsp;</DIV>
<DIV><B>config (SAMBA ¸¶¿îÆ®µÈ°÷ÀÇ Á¢¼ÓÁ¤º¸)</B></DIV>
<DIV>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD><FONT color=#ffffff size=2>&nbsp;#!/bin/bash<BR>username="mojily";<BR>password="********";<BR>backup_serverip="KB2.SMILESERV.COM";</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><B>home_tar.sh (È¨¹é¾÷ : 1ÁÖÀÏ¿¡ 1¹ø ÀüÃ¼¹é¾÷, ³ª¸ÓÁö Â÷µî¹é¾÷)</B></DIV>
<DIV>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD>
<DIV><FONT color=#ffffff size=2>#!/bin/sh</FONT></DIV>
<DIV><FONT color=#ffffff size=2>source $(dirname $0)/config<BR>source $(dirname $0)/backup_info</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>if [ ! -d $Mount_DIR ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mkdir -p $Mount_DIR;<BR>fi</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>if [ ! -d "$home_dst_full" ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mkdir -p $home_dst_full;<BR>fi;</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>if [ ! -d "$home_dst_difference/$today" ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mkdir -p $home_dst_difference/$today;<BR>fi;</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2># Áö³­ µ¥ÀÌÅ¸ »èÁ¦<BR>find $home_dst_full -ctime +$home_backup_period \-exec rm -rf {} \;<BR>find $home_dst_difference -ctime +$home_backup_period \-exec rm -rf {} \;</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2># ¹é¾÷½ÃÀÛ<BR>cd $home_src;</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>for home_name in $(ls);<BR>do<BR>if [ $home_name = "lost+found" ]; then<BR>continue;<BR>fi;</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>if [ $home_name = "$(echo $Mount_DIR |cut -d"/" -f3)" ]; then<BR>continue;<BR>fi;</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>if [ -d "$home_src/$home_name" ] ; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; full_backup_date=`echo $(date +%a) |egrep $full_backup_week`<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ ! -z $full_backup_date ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tar -pczf "$home_dst_full/$home_name-$sysdtime.tar.gz" "$home_name";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tar -N "`cat $home_dst/last`" -pczf "$home_dst_difference/$today/$home_name-$sysdtime.tar.gz" "$home_name";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi;</FONT></DIV>
<DIV><FONT color=#ffffff size=2>fi;<BR>done;<BR>date +"%Y-%m-%d %T" &gt; $home_dst/last;</FONT></DIV></TD></TR></TBODY></TABLE></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><B>mysql_backup.sh (dump ¹é¾÷ ¹× tar ¾ÐÃà¹é¾÷)</B></DIV>
<DIV>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD>
<DIV><FONT color=#ffffff size=2>#!/bin/bash</FONT></DIV>
<DIV><FONT color=#ffffff size=2>source $(dirname $0)/config<BR>source $(dirname $0)/backup_info</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>if [ ! -d "$mysql_dst" ]; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mkdir -p $mysql_dst;<BR>fi;</FONT></DIV>
<DIV><BR><FONT color=#ffffff size=2>mysql_backupdir="${mysql_dst}/$today";<BR>find $mysql_dst -ctime +$mysql_backup_period \-exec rm -rf {} \;</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>db_compress="0"<BR>not_dump_db="test|test2"<BR>mysql_c&#111;&#110;nect="-h $mysql_host -u root -p$mysql_rootpasswd";<BR>mysql_DBs=`$mysql_show $mysql_connect 2&gt;/dev/null | egrep -v "(${not_dump_db}|Databases|\+)" | awk '{print $2}'`<BR>mysql_dump_work() {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mysql_each_DB="$1"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mysql_dump_file="${mysql_backupdir}/${mysql_each_DB}-${sysdtime}.sql"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $mysql_dump $mysql_connect $mysql_each_DB &gt; $mysql_dump_file<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ "$db_compress" = "1" ] ; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gzip -f9 $mysql_dump_file<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<BR>}</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>if [ "$mysql_DBs" != "" ] ; then</FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ ! -d "$mysql_backupdir" ] ; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mkdir -p "$mysql_backupdir"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chmod 700 "$mysql_backupdir"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for mysql_DB in $mysql_DBs ; do<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mysql_dump_work $mysql_DB<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; done</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ## MySQLÀÌ °¡µ¿ÁßÀÌÁö ¾ÊÀ» °æ¿ì<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ## ÁÖ) ¾Æ·¡¿¡¼­ ${IFS}=$IFS HTML¿¡¼­ &lt;BR&gt;°ú °°À½.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ##</FONT></DIV>
<DIV><FONT color=#ffffff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ "$reportmailto" != "" ] ; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mailsubject="dailydump.cron report [${HOSTNAME}]"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mailmessages="MySQLÀÌ °¡µ¿ÇÏÁö ¾Ê°Å³ª DB°¡ ¾ø½À´Ï´Ù.${IFS}</FONT>MySQL ¼­¹ö<FONT color=#ffffff size=2>(${mysql_host}) È®ÀÎÇÏ¼¼¿ä!!!"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo "$mailmessages" | mail -s "$mailsubject" "$reportmailto" &gt;/dev/null 2&gt;&amp;1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<BR>fi</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2># ¾ÐÃà ¹é¾÷<BR>tar jcvfp "$mysql_backupdir/All_Database_${sysdtime}.tar.bz2" "$mysql_data_src";</DIV></FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><B>rsync_backup.sh (µ¿±âÈ­ ¹é¾÷)</B></DIV>
<DIV>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD>
<DIV><FONT color=#ffffff size=2>&nbsp;#!/bin/bash<BR>source $(dirname $0)/config<BR>source $(dirname $0)/backup_info</FONT></DIV>
<DIV><BR><FONT color=#ffffff size=2>if [ ! -d $rsync_dst ] ; then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mkdir -p $rsync_dst;<BR>fi</FONT></DIV>
<DIV><FONT color=#ffffff size=2>rsync -tripD --exclude-from=$(dirname $0)/exclude_list --delete $rsync_src $rsync_dst</FONT></DIV></TD></TR></TBODY></TABLE></DIV>
<DIV>&nbsp;</DIV>
<DIV><B>¡Ø exclude_list (µ¿±âÈ­ÇÒ Æú´õ¿¡¼­ Á¦¿ÜÇÒ ÆÐÅÏ)</B></DIV>
<DIV>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD><FONT color=#ffffff size=2>2011-0227</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>&nbsp;</DIV>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Mon, 28 Feb 2011 21:53:49 +0900</dc:date>
</item>
<item>
<title>bash ¿¡¼­ include »ç¿ë</title>
<link>http://chonnom.com/bbs/board.php?bo_table=B23&amp;wr_id=29</link>
<description><![CDATA[<DIV>µ¥ÀÌÅ¸ Á¢±ÙÁ¤º¸ ÆÄÀÏÀ» º°µµ·Î&nbsp;µÎ°í ½ºÅ©¸³Æ®¿¡¼­ ºÒ·¯µéÀÌ°íÀÚ »ç¿ëÇÒ¶§...</DIV>
<DIV>&nbsp;</DIV>
<DIV>ex) SAMBA Á¢±ÙÁ¤º¸¸¦ º°µµÆÄÀÏ¿¡ °ü¸®</DIV>
<DIV>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD>
<DIV><FONT color=#ffffff size=2><B>config</B></FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>#!/bin/bash<BR>username="MOJILY"<BR>password="XXXXXXXX"<BR>backup_serverip="samba.chonnom.com"</FONT></DIV></TD></TR></TBODY></TABLE></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 borderColor=#000000 cellPadding=3 width="100%" bgColor=#000000>
<TBODY>
<TR>
<TD>
<DIV><FONT color=#ffffff size=2>#!/bin/bash<BR>source $(dirname $0)/config&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # ÆÄÀÏÂüÁ¶</FONT></DIV>
<DIV><FONT color=#ffffff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#ffffff size=2>xxxxxxxxxxxxxxxxxxxxxxxxxx</FONT></DIV>
<DIV><FONT color=#ffffff size=2>xxxxxxxxxxxxxxxxxxxxxxxxxx</FONT></DIV></TD></TR></TBODY></TABLE></DIV>]]></description>
<dc:creator>ÃÖ°í°ü¸®ÀÚ</dc:creator>
<dc:date>Thu, 24 Feb 2011 09:55:33 +0900</dc:date>
</item>
</channel>
</rss>
