<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DkANSXYyfyp7ImA9WhRWFUs.&quot;"><id>tag:blogger.com,1999:blog-35178687</id><updated>2012-01-03T12:26:38.897+08:00</updated><category term="Outlook Express" /><category term="Mail" /><category term="WOW" /><category term="MSSQL" /><category term="Veritas NetBackup" /><category term="blogger" /><category term="MySQL" /><category term="武術" /><category term="狗屁倒灶" /><category term="網路雜七雜八" /><category term="shell" /><category term="FTP" /><category term="小微" /><category term="network monitor" /><category term="Linux" /><category term="Solaris" /><category term="CAT" /><category term="Photos" /><category term="遊記" /><category term="music" /><category term="中醫藥" /><category term="Apache" /><category term="F5" /><category term="Oracle" /><title>vincent's Blog</title><subtitle type="html">一個無聊的網路雜工的紀錄！！</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://vincent119.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>93</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/wSjgw" /><feedburner:info uri="blogspot/wsjgw" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DkANSXc6fCp7ImA9WhRWFUs.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-5097013810765059357</id><published>2012-01-03T12:25:00.002+08:00</published><updated>2012-01-03T12:26:38.914+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-03T12:26:38.914+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="shell" /><title>write log on bash shell</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/5097013810765059357/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2012/01/write-log-on-bash-shell.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/5097013810765059357?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/5097013810765059357?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/qE_q6EgXEZQ/write-log-on-bash-shell.html" title="write log on bash shell" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">

WLOG(){
LOGPATH=$1
LOGTXT=$2

DATETIME=`date +"%Y%m%d %H:%M:%S"`
printf "%-s\n" "$DATETIME: $LOGTXT" &amp;gt;&amp;gt; $LOGPATH



}

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AEZAkHkqJrZinFNGnbFcdPvPLSw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AEZAkHkqJrZinFNGnbFcdPvPLSw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AEZAkHkqJrZinFNGnbFcdPvPLSw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AEZAkHkqJrZinFNGnbFcdPvPLSw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/qE_q6EgXEZQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2012/01/write-log-on-bash-shell.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8BR3w7eyp7ImA9WhZWE0w.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-1660051951188819760</id><published>2011-05-12T22:06:00.000+08:00</published><updated>2011-05-14T04:34:16.203+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-14T04:34:16.203+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="perl" /><title>get a time (? min ago)</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/1660051951188819760/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2011/05/get-time-min-ago.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/1660051951188819760?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/1660051951188819760?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/VGjwKYNiumA/get-time-min-ago.html" title="get a time (? min ago)" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">

####  defined perl Modul  #############
use Time::Local;
use Date::Manip;
#######################################
##  defined  ##########################
$min_ago=10;

#######################################
sub getmin_ago{
  my $count=@_[0];
  #####################################################
  my $date1 = ParseDate("today");
  my $date1 = DateCalc( $date1, "- $count minute");
  my $date1 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1TnyirAYhqFiRTs42J8zPkTEKGc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1TnyirAYhqFiRTs42J8zPkTEKGc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1TnyirAYhqFiRTs42J8zPkTEKGc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1TnyirAYhqFiRTs42J8zPkTEKGc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/VGjwKYNiumA" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2011/05/get-time-min-ago.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8BQHszfyp7ImA9Wx9QFEk.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-6285937890630335996</id><published>2010-12-27T13:55:00.002+08:00</published><updated>2010-12-27T17:40:51.587+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-27T17:40:51.587+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="武術" /><title>八極 連環拳</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/6285937890630335996/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/12/blog-post.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/6285937890630335996?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/6285937890630335996?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/nIpImDVcOws/blog-post.html" title="八極 連環拳" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">
1．預備式
2．撩陰掌
3．扁樁腳
4．頂心肘
5．左攔捶
6．右攔捶
7．右崩拳
8．左崩拳
9．迎面掌
10．左掖掌
11．反撩陰
12．掛塌式
13．轉身托窗
14．跟步掐肚
15．推窗
16．落步掌
17．轉身撐掌
18．左塌掌
19．右衝捶
20．採摟勾拌
21．掛塌式
22．千斤墜
23．擠身靠
24．崩撩掌
25．貼山靠
26．捨身下式
27．擊檔捶
28．進步撐掌
29．左鑽拳
30．右砲捶
31．頂心肘
32．穿山靠
33．蠍子腳
34．落步砸
35．偷心拳
36．收式








&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aV-zWrcux9FIX3rZSfVqrPV3e9c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aV-zWrcux9FIX3rZSfVqrPV3e9c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aV-zWrcux9FIX3rZSfVqrPV3e9c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aV-zWrcux9FIX3rZSfVqrPV3e9c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/nIpImDVcOws" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/12/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEDRXc6eSp7ImA9Wx5XGUs.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-89019700848140967</id><published>2010-09-20T14:36:00.004+08:00</published><updated>2010-09-20T14:37:54.911+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-20T14:37:54.911+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="F5" /><title>F5 upgrade OS 9.x  to 10.x</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/89019700848140967/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/09/f5-os-94-to-10x.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/89019700848140967?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/89019700848140967?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/mbWwRd-w3zY/f5-os-94-to-10x.html" title="F5 upgrade OS 9.x  to 10.x" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">create dir /share/images
upload file to f5 /share/images

image2disk --instslot=HD1.2 --format=partitions --reboot --setdefault BIGIP-10.2.0.1707.0.iso


&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/waKgWKmGuA5i0LtAv_RXrrgys10/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/waKgWKmGuA5i0LtAv_RXrrgys10/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/waKgWKmGuA5i0LtAv_RXrrgys10/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/waKgWKmGuA5i0LtAv_RXrrgys10/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/mbWwRd-w3zY" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/09/f5-os-94-to-10x.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEASHk6eCp7ImA9Wx5VFEk.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-1456912256564877725</id><published>2010-09-08T17:14:00.001+08:00</published><updated>2010-10-07T16:37:29.710+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-07T16:37:29.710+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="武術" /><title>六大開</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/1456912256564877725/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/09/blog-post.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/1456912256564877725?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/1456912256564877725?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/NIYDrUTV4-E/blog-post.html" title="六大開" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">
第一開 貼山靠 （靠）

撩陰掌-右靠-左靠-右靠-左靠-右靠-回身撩陰掌

第二開 纏絲崩 （纏）

撩陰掌-右纏絲崩（小纏）-左纏絲崩（大纏）-右纏絲崩（大纏）-左纏絲崩（大纏）-回身撩陰掌

第三開 猛虎硬爬山 （捅）

撩陰掌-左衝拳-右衝拳-頂心肘-左橫打-右衝拳-左衝拳-頂心肘-右橫打-回身撩陰掌



第四開 左右塌掌 （塌）

撩陰掌-右塌掌-左塌掌-右塌掌-左塌掌-右塌掌-回身撩陰掌

第五開 左右攔捶 （攔）

頂心肘-左攔捶-右攔捶-挑打頂肘-右攔捶-左攔捶-回身撩陰掌

第六開 虎撲推窗 （撲）

扁樁腳-蠍子腳-反砸-偷心拳-推窗-蠍子腳-二起腳-反砸-偷心拳-推窗

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1_wJSaiAuNXyiRSPhRb2Wgl7znw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1_wJSaiAuNXyiRSPhRb2Wgl7znw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1_wJSaiAuNXyiRSPhRb2Wgl7znw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1_wJSaiAuNXyiRSPhRb2Wgl7znw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/NIYDrUTV4-E" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/09/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4NSHw5fSp7ImA9Wx5SEEU.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-9111002164617401605</id><published>2010-08-06T16:55:00.004+08:00</published><updated>2010-08-06T16:56:39.225+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-06T16:56:39.225+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><title>Oracle's V$ Views</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/9111002164617401605/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/08/oracles-v-views.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/9111002164617401605?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/9111002164617401605?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/TzzduuwVRhM/oracles-v-views.html" title="Oracle's V$ Views" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">http://www.adp-gmbh.ch/ora/misc/dynamic_performance_views.html
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Co_wJxgFDCv3QeyFEUHT6oKN6Hw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Co_wJxgFDCv3QeyFEUHT6oKN6Hw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Co_wJxgFDCv3QeyFEUHT6oKN6Hw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Co_wJxgFDCv3QeyFEUHT6oKN6Hw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/TzzduuwVRhM" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/08/oracles-v-views.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EEQXoyfCp7ImA9WxFVFUQ.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-7354707346066696568</id><published>2010-06-15T16:45:00.001+08:00</published><updated>2010-06-15T16:46:40.494+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-15T16:46:40.494+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="shell" /><title>get PATH ＆ file name</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/7354707346066696568/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/06/get-path-file-name.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/7354707346066696568?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/7354707346066696568?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/27GVJaGkuAM/get-path-file-name.html" title="get PATH ＆ file name" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">參考來源 1
參考來源 2
參考來源 3

basename 


Exsample:
從其他檔案中讀取路徑 .list 檔案內容如 /etc/snmp/snmpd.conf

while read -r LINE;
do
FILENAME=`basename $LINE`
PATHNAME=`dirname $LINE`

done &amp;lt; 111.list



結果

FILENAME ＝ snmpd.conf
PATHNAME ＝ /etc/snmp


&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/bYaktEDSKpPAXe5kb4OAYyt-iXs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bYaktEDSKpPAXe5kb4OAYyt-iXs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/bYaktEDSKpPAXe5kb4OAYyt-iXs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bYaktEDSKpPAXe5kb4OAYyt-iXs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/27GVJaGkuAM" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/06/get-path-file-name.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYGRXw6fyp7ImA9WxFQEUs.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-1317656858774356311</id><published>2010-05-06T14:49:00.005+08:00</published><updated>2010-05-07T00:42:04.217+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-07T00:42:04.217+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="shell" /><title>(City) Linux BASH script(s) to fetch, unzip, reformat and generate the GeoIP.acl include file for BIND</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/1317656858774356311/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/05/geolitecity.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/1317656858774356311?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/1317656858774356311?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/DO4pyU_XkG4/geolitecity.html" title="(City) Linux BASH script(s) to fetch, unzip, reformat and generate the GeoIP.acl include file for BIND" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">參考來源

#!/bin/sh

COUNTRYNAME="CN"
CITYNAME="Beijing"
#cd GeoLiteCity_20100401
DPATH=`pwd`
DATE=`date +%Y%m01`
[ -f GeoLiteCity_$DATE.zip ] || wget -T 5 -t 1 http://geolite.maxmind.com/download/geoip/database/GeoLiteCity_CSV/GeoLiteCity_$DATE.zip
unzip GeoLiteCity_$DATE.zip || exit 1


echo -ne "DONE\nGenerating BIND GeoIP.acl file..."
cat $DPATH/GeoLiteCity_*/GeoLiteCity-Location.csv | grep $
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4_9xdx80NizNDcZsZO3FZfqN6Ww/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4_9xdx80NizNDcZsZO3FZfqN6Ww/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4_9xdx80NizNDcZsZO3FZfqN6Ww/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4_9xdx80NizNDcZsZO3FZfqN6Ww/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/DO4pyU_XkG4" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/05/geolitecity.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMAQ38yfCp7ImA9WxFSEU8.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-7903766367601257656</id><published>2010-04-13T10:06:00.001+08:00</published><updated>2010-04-13T10:07:22.194+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-13T10:07:22.194+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="武術" /><title>大八極</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/7903766367601257656/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/04/blog-post.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/7903766367601257656?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/7903766367601257656?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/fKyjtx-dkY4/blog-post.html" title="大八極" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html"> 
1.起式
2.挑打頂肘
3.右橫打
4.左橫打
5.轉身下式
6.擊襠捶
7.右蹬腳
8.反砸
9.弓步左探掌
10.馬步雙撐
11.推窗（虎撲）
12.落步掌
13.轉身撐掌
14.進步左撐掌
15.進步右撐掌
16.進步左撐掌
17.進步右撐掌
18.採摟勾絆
19.掛塌式
20.大纏絲
21.崩步捶
22.跪膝
23.退步左撐掌
24.退步右撐掌
25.退步左撐掌
26.退步右撐掌
27.掛塌式
28.千斤墜
29.崩步捶
30.落步反砸
31.連環腳（二起腳）
32.反砸
33.轉身下式
34.擊襠捶
35.右蹬腳
36.反砸
37.弓步左探掌
38.馬步雙撐
39.收式

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KNUfx_xQG1Ed5EpWQH94WyOPEdc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KNUfx_xQG1Ed5EpWQH94WyOPEdc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KNUfx_xQG1Ed5EpWQH94WyOPEdc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KNUfx_xQG1Ed5EpWQH94WyOPEdc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/fKyjtx-dkY4" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/04/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YFQX4zfip7ImA9WxFTFk8.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-8799607331004849175</id><published>2010-04-07T14:17:00.002+08:00</published><updated>2010-04-07T14:18:30.086+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-07T14:18:30.086+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><title>change time zone for linux</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/8799607331004849175/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/04/change-time-zone-for-linux.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/8799607331004849175?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/8799607331004849175?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/8OKP81Rj3WY/change-time-zone-for-linux.html" title="change time zone for linux" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">1.check /etc/sysconfig/clock
    ZONE="your_zone "
    UTC=false
    ARC=false

2. ln -s /usr/share/zoneinfo/your_zone /etc/localtime
   or cp /usr/share/zoneinfo/your_zone /etc/localtime
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Fo5TGN5-sf6BsCkBs5rAkEkBbzE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Fo5TGN5-sf6BsCkBs5rAkEkBbzE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Fo5TGN5-sf6BsCkBs5rAkEkBbzE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Fo5TGN5-sf6BsCkBs5rAkEkBbzE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/8OKP81Rj3WY" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/04/change-time-zone-for-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IMSHk7fSp7ImA9WxBbGEU.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-7941389725127715572</id><published>2010-03-18T11:08:00.002+08:00</published><updated>2010-03-18T12:13:09.705+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-18T12:13:09.705+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><title>genkey ssh key</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/7941389725127715572/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/03/ssh-key.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/7941389725127715572?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/7941389725127715572?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/ta91NZKC9pw/ssh-key.html" title="genkey ssh key" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">ssh-keygen -t dsa 
ssh-keygen -t rsa
exp:
ssh-keygen -t dsa 
Generating public/private dsa key pair.
Enter file in which to save the key (/root/.ssh/id_dsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /root/.ssh/id_dsa.
Your public key has been saved in /root/.ssh/id_dsa.pub.
The key fingerprint is:
e0:93:6d:d2:4d:88:7e:61:c3:
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Fn8TUUIuHJqnxTxaS7EQX5H_7RM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Fn8TUUIuHJqnxTxaS7EQX5H_7RM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Fn8TUUIuHJqnxTxaS7EQX5H_7RM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Fn8TUUIuHJqnxTxaS7EQX5H_7RM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/ta91NZKC9pw" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/03/ssh-key.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8FRns4eSp7ImA9WxBUFUw.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-4217150325387244163</id><published>2010-03-02T16:24:00.001+08:00</published><updated>2010-03-02T16:33:37.531+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-02T16:33:37.531+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="武術" /><title>小八極</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/4217150325387244163/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/03/blog-post_7441.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/4217150325387244163?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/4217150325387244163?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/tck0JolySNM/blog-post_7441.html" title="小八極" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">1.雙抱拳
2.屈膝雙伸
3.左蹬腳
4.右蹬腳
5.右提膝
6.頂心肘
7.黑虎偷心
8.大蟒纏身
9.塌掌
10.托掌
11.白鶴亮翅
12.閉檔捶
13.探掌,遞捶
14.右提膝
15.頂心肘
16.雙抱捶
17.雙栽捶
18.大纏絲
19.崩步捶
20.拗步捶
21.右纏絲（小纏）
22.弓步衝捶
23.馬步捶
24.弓步撩捶
25.左纏絲（小纏）
26.弓步衝捶
27.封面掌
28.捨身下式
29.斜單鞭
30.金雞獨立
31.金雞抖翎
32.崩撩捶
33.左撐掌
34.退步右撐掌
35.退步挑肘
36.收勢

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/i-ic9TZGekEJdyfvS8FPZYKkVVI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/i-ic9TZGekEJdyfvS8FPZYKkVVI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/i-ic9TZGekEJdyfvS8FPZYKkVVI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/i-ic9TZGekEJdyfvS8FPZYKkVVI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/tck0JolySNM" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/03/blog-post_7441.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8ARX0_fip7ImA9WxBUFUw.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-4798149957149726167</id><published>2010-03-02T15:09:00.002+08:00</published><updated>2010-03-02T16:34:04.346+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-02T16:34:04.346+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="武術" /><title>八大式</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/4798149957149726167/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/03/blog-post_5717.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/4798149957149726167?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/4798149957149726167?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/MpEvMr0LG5Q/blog-post_5717.html" title="八大式" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">一.馬步弓捶
二.馬步衝捶
三.纏絲崩捶
四.左右塌掌
五.左右橫打
六.左右攔錘
七.左右搋捶
八.左右撐掌

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mOgrtZyoLKxdcwJPph8pEVce9fY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mOgrtZyoLKxdcwJPph8pEVce9fY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mOgrtZyoLKxdcwJPph8pEVce9fY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mOgrtZyoLKxdcwJPph8pEVce9fY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/MpEvMr0LG5Q" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/03/blog-post_5717.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8DQHY7eCp7ImA9WxBUFUw.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-5822297746806674143</id><published>2010-03-02T14:58:00.001+08:00</published><updated>2010-03-02T16:34:31.800+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-02T16:34:31.800+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="武術" /><title>組合攻擊</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/5822297746806674143/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/03/blog-post_02.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/5822297746806674143?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/5822297746806674143?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/7Zc50I5wXXU/blog-post_02.html" title="組合攻擊" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">短發勁,一式三拳
一.直擊拳四下
二.左右掌擊
三.左右肘擊
四.左右砲捶
五.左右膝擊
六.推蹬,蠍子腳

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/laJpixNiPmGycPLtHXhUpWVwCCQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/laJpixNiPmGycPLtHXhUpWVwCCQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/laJpixNiPmGycPLtHXhUpWVwCCQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/laJpixNiPmGycPLtHXhUpWVwCCQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/7Zc50I5wXXU" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/03/blog-post_02.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8NRX08eCp7ImA9WxBUFUw.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-8588136062678081762</id><published>2010-03-02T14:54:00.001+08:00</published><updated>2010-03-02T16:34:54.370+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-02T16:34:54.370+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="武術" /><title>腿功</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/8588136062678081762/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/03/blog-post.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/8588136062678081762?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/8588136062678081762?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/2H5s7Edz1nk/blog-post.html" title="腿功" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">1.蹬腳
2.斧刃腳（扁樁腳）
3.撩陰腿
4.高踢
5.點踢
6.刮面
7.擺蓮（單,雙）
8.蠍子腳
9.二起腳
10.旋風腿

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/QAiDftpA0YakGfvljoeTEu_D6g4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QAiDftpA0YakGfvljoeTEu_D6g4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/QAiDftpA0YakGfvljoeTEu_D6g4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QAiDftpA0YakGfvljoeTEu_D6g4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/2H5s7Edz1nk" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/03/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8CSXw6eCp7ImA9WxBUFE8.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-2979506445027525837</id><published>2010-03-01T15:33:00.001+08:00</published><updated>2010-03-01T15:34:28.210+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-01T15:34:28.210+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="shell" /><title>Check SSL Certificate Expire Date</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/2979506445027525837/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/03/check-ssl-certificate-expire-date.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/2979506445027525837?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/2979506445027525837?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/_dKClNPWcEQ/check-ssl-certificate-expire-date.html" title="Check SSL Certificate Expire Date" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">

!/bin/sh
# check_SSL_expire.sh by vincent
#

SSL_URL="www.aaaa.com"
LIMIT_DAY=60

#############################
TODATE=`date +'%Y%m%d'`
TODATE_S=`date -d $TODATE +%s`

for i in $SSL_URL
do
/usr/bin/openssl s_client -connect $i:443 &amp;lt; /dev/null  &amp;gt; $i.pem
ENDDAY=`openssl x509 -noout -in $i.pem  -enddate | cut -c 10- | awk '{print $2}'`
ENDYEAR=`openssl x509 -noout -in $i.pem  -enddate | cut -c 10-
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iF6WG_pVRILg_ETpezCItNSTJ6I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iF6WG_pVRILg_ETpezCItNSTJ6I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iF6WG_pVRILg_ETpezCItNSTJ6I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iF6WG_pVRILg_ETpezCItNSTJ6I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/_dKClNPWcEQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/03/check-ssl-certificate-expire-date.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcARHkyfyp7ImA9WxBWGUk.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-3421102308936349252</id><published>2010-02-12T10:34:00.000+08:00</published><updated>2010-02-12T10:34:05.797+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-12T10:34:05.797+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="shell" /><title>shell 中使用bc計算數值</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/3421102308936349252/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/02/shell-bc.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/3421102308936349252?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/3421102308936349252?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/7eAxHYqTnlE/shell-bc.html" title="shell 中使用bc計算數值" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">
AAA=`date -d 20100212 +%s`
BBB=`date -d 20100214 +%s`

CCC=`echo "($BBB-$AAA)/(3060*24)"| bc`

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9sOU76Qcg5odWeiTMhJbVT6vzoY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9sOU76Qcg5odWeiTMhJbVT6vzoY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9sOU76Qcg5odWeiTMhJbVT6vzoY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9sOU76Qcg5odWeiTMhJbVT6vzoY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/7eAxHYqTnlE" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/02/shell-bc.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYCSX4yfCp7ImA9WxBWGEU.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-340944646031073300</id><published>2010-02-11T17:22:00.001+08:00</published><updated>2010-02-11T17:22:48.094+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-11T17:22:48.094+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Apache" /><title>OpenSSL CSR Creation for Apache SSL</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/340944646031073300/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/02/openssl-csr-creation-for-apache-ssl.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/340944646031073300?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/340944646031073300?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/x4xOrzkuvCo/openssl-csr-creation-for-apache-ssl.html" title="OpenSSL CSR Creation for Apache SSL" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">1.create private key

No password
/usr/sbin/sslgenrsa -rand /dev/urandom -out ssl.key/server.key
chmod go-rwx ssl.key/server.key

need password

/usr/sbin/sslgenrsa -rand /dev/urandom -out ssl.key/server.key 1024


2.create .csr

/usr/bin/openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
/usr/bin/openssl req -new -key /etc/httpd/conf/server.key -out /etc/httpd/conf/
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/31VeJatjD5gnmPbpBWYo-LXlnVU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/31VeJatjD5gnmPbpBWYo-LXlnVU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/31VeJatjD5gnmPbpBWYo-LXlnVU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/31VeJatjD5gnmPbpBWYo-LXlnVU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/x4xOrzkuvCo" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/02/openssl-csr-creation-for-apache-ssl.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQBSH86cCp7ImA9WxBWGEg.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-8220101441845031835</id><published>2010-02-11T09:24:00.004+08:00</published><updated>2010-02-11T09:39:19.118+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-11T09:39:19.118+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Apache" /><title>Move a SSL certificate from Apache(.crt) to IIS(.pfx)</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/8220101441845031835/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/02/move-ssl-certificate-from-apachecrt-to.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/8220101441845031835?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/8220101441845031835?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/JFEZIYPIxHA/move-ssl-certificate-from-apachecrt-to.html" title="Move a SSL certificate from Apache(.crt) to IIS(.pfx)" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html"> 


openssl pkcs12 -export -in /path/to/ssl-cert.crt -inkey /path/to/private.key -certfile /path/to/intermediate-ca.crt -out cert-export.pfx 





&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/V4x7Tf4FCIR-wE5A1FuNT5QKR2g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/V4x7Tf4FCIR-wE5A1FuNT5QKR2g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/V4x7Tf4FCIR-wE5A1FuNT5QKR2g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/V4x7Tf4FCIR-wE5A1FuNT5QKR2g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/JFEZIYPIxHA" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/02/move-ssl-certificate-from-apachecrt-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYFQHs_eyp7ImA9WxBUF0g.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-3418337642044987644</id><published>2010-01-08T17:57:00.003+08:00</published><updated>2010-03-05T09:21:51.543+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-05T09:21:51.543+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><title>ETHtOOL 顯示網路卡燈號</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/3418337642044987644/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2010/01/redhat.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/3418337642044987644?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/3418337642044987644?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/3KJ1MuOL_jA/redhat.html" title="ETHtOOL 顯示網路卡燈號" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">ethtool -p eth0 5   -p  
 initiates adapter-specific action intended to enable an operator to easily identify the adapter by sight.  typically this involves blinking one or more LEDs on the specific ethernet port.   文章來源 

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_nR_kgBrAQ15sl4x8v-Y8G87p_A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_nR_kgBrAQ15sl4x8v-Y8G87p_A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_nR_kgBrAQ15sl4x8v-Y8G87p_A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_nR_kgBrAQ15sl4x8v-Y8G87p_A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/3KJ1MuOL_jA" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2010/01/redhat.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMHSXw5fyp7ImA9WxNQF0w.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-242624604952391168</id><published>2009-09-23T21:58:00.002+08:00</published><updated>2009-09-23T22:00:38.227+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-23T22:00:38.227+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CAT" /><title>針的疑惑</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/242624604952391168/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2009/09/blog-post.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/242624604952391168?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/242624604952391168?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/2-1UaL_kYSQ/blog-post.html" title="針的疑惑" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">本文來自 http://www.oic.hk針的疑惑 by 寵物營養師 蘇菁菁 M.Sc., R.D., MAAVN （歡迎轉載，但請列明資料來自本網頁 http://www.oic.hk/article_vac.htm）相信大部份飼養寵物的人都認為每年帶家中的貓狗去接受防疫注射是件理所當然，百利而無一害的事。雖然某些防疫針的確能有效地防禦其針對的疫症，但不竟"針無兩頭利"，跟所有醫療程序或藥物一樣，防疫注射其實也有風險，尤其是當它已被廣泛地濫用時。 有否想過為何人類在接受兒時一系列的防疫注射後就已足夠，而成年貓狗卻仍要每年接受注射，直至終老？或許你們會感到驚訝，就連美國獸醫學會也承認 "年年打針" 只是種 "傳統"，並沒有任何有力的科學根據存在！事實上，近年來有越來越多研究指出多種貓狗疫苗的有效防禦能力遠超過1年，有些甚至長達7，8年，或一生之久。 近年來，至少在北美，
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/m60aYEe5RcGLC-iLjrKEHZgnjSE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m60aYEe5RcGLC-iLjrKEHZgnjSE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/m60aYEe5RcGLC-iLjrKEHZgnjSE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m60aYEe5RcGLC-iLjrKEHZgnjSE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/2-1UaL_kYSQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2009/09/blog-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEHSX45fSp7ImA9WxJaEE0.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-3340711989690956483</id><published>2009-07-31T10:14:00.001+08:00</published><updated>2009-07-31T10:17:18.025+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-31T10:17:18.025+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Solaris" /><title>Disable a CPU in Solaris</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/3340711989690956483/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2009/07/disable-cpu-in-solaris.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/3340711989690956483?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/3340711989690956483?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/zy4mL0cUtOg/disable-cpu-in-solaris.html" title="Disable a CPU in Solaris" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Using CPU1 as an example:1. View /var/adm/messages to figure out which CPU is having problems.2. Use psrinfo to view your CPU configuration3. As root, take the CPU offline using the command ‘psradm -f 1′3a. The syntax is ‘psradm ‘4. Verify the CPU is offline with ‘psrinfo’5. To bring an offline CPU back online, use ‘psradm -n 1′來源網址：http://www.tech-recipes.com/rx/192/
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4WXQdqIUnD-1zgoSTwfRcbq5TDM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4WXQdqIUnD-1zgoSTwfRcbq5TDM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4WXQdqIUnD-1zgoSTwfRcbq5TDM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4WXQdqIUnD-1zgoSTwfRcbq5TDM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/zy4mL0cUtOg" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2009/07/disable-cpu-in-solaris.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MESHg4cCp7ImA9WxJbGU4.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-518042089097986781</id><published>2009-07-30T14:16:00.004+08:00</published><updated>2009-07-30T14:30:09.638+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-30T14:30:09.638+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><title>每月統計oracle table count</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/518042089097986781/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2009/07/oracle-table-count.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/518042089097986781?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/518042089097986781?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/2Q_csEZIqtg/oracle-table-count.html" title="每月統計oracle table count" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">以前寫的一個store procedure ，起因是某個離職的主管要我每個月report DB內某一個USER下所有TABLErow count的差異量，開玩笑不是10個或是20 table，是將近1000個，用excel要做到名國幾年阿。 先建立一個統計表CREATE TABLE DB_RPT1(  NAM_TABLE  VARCHAR2(50) NOT NULL, NAM_YEAR  VARCHAR2(4), MOON_1    VARCHAR2(30), MOON_2    VARCHAR2(30), MOON_3    VARCHAR2(30), MOON_4    VARCHAR2(30), MOON_5    VARCHAR2(30), MOON_6    VARCHAR2(30), MOON_7    VARCHAR2(30), MOON_8    VARCHAR2(30)
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Gp8Nv6jnEiX4oE_6ShuoNMVps6I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Gp8Nv6jnEiX4oE_6ShuoNMVps6I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Gp8Nv6jnEiX4oE_6ShuoNMVps6I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Gp8Nv6jnEiX4oE_6ShuoNMVps6I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/2Q_csEZIqtg" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2009/07/oracle-table-count.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYARXY9fSp7ImA9WxJbFks.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-7611134499243741691</id><published>2009-07-27T11:37:00.003+08:00</published><updated>2009-07-27T11:42:24.865+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-27T11:42:24.865+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><category scheme="http://www.blogger.com/atom/ns#" term="shell" /><title>clean log for ORACLE LSNRCTL</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/7611134499243741691/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2009/07/clean-log-for-oracle-lsnrctl.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/7611134499243741691?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/7611134499243741691?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/S4-phtY7oHY/clean-log-for-oracle-lsnrctl.html" title="clean log for ORACLE LSNRCTL" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html"> #!/bin/sh #  ORACLE_USER=oracleTMP_FILE="/tmp/lsnrcmd"################ use Yes or Y ,NO or NROTATE_FILE=y###############ROTATE=3###########################################EXEC_USER=`who -m |awk '{print $1}'`CLEAN_LOG(){  if [ $EXEC_USER = "root" ]; then    su - $ORACLE_USER -c $ORACLE_HOME/bin/lsnrctl &amp;lt; $TMP_FILE            elif [ $EXEC_USER = "$ORACLE_USER" ]; then                      $
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kg4JlMikCRg0JJhQyLHZBM4tnhk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kg4JlMikCRg0JJhQyLHZBM4tnhk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kg4JlMikCRg0JJhQyLHZBM4tnhk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kg4JlMikCRg0JJhQyLHZBM4tnhk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/S4-phtY7oHY" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2009/07/clean-log-for-oracle-lsnrctl.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcASXg6fip7ImA9WxJVGEk.&quot;"><id>tag:blogger.com,1999:blog-35178687.post-358940714954233749</id><published>2009-07-06T10:04:00.001+08:00</published><updated>2009-07-06T10:07:28.616+08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-06T10:07:28.616+08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><title>Mysql Backup &amp;  Restore</title><link rel="replies" type="application/atom+xml" href="http://vincent119.blogspot.com/feeds/358940714954233749/comments/default" title="張貼意見" /><link rel="replies" type="text/html" href="http://vincent119.blogspot.com/2009/07/mysql-backup-restore.html#comment-form" title="0 個意見" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/358940714954233749?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/35178687/posts/default/358940714954233749?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/wSjgw/~3/5DXYocLWrLU/mysql-backup-restore.html" title="Mysql Backup &amp;  Restore" /><author><name>vincent's blog</name><uri>http://www.blogger.com/profile/09953541822095051797</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Backup mysqldump "DB_name" -u "user" -p &amp;gt; "backup_file"Restore mysql "DB_name" -u "user" -p &amp;lt; "backup_file"
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/c3GTcOnT-rxBgyoVBAStDvnVv6g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c3GTcOnT-rxBgyoVBAStDvnVv6g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/c3GTcOnT-rxBgyoVBAStDvnVv6g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c3GTcOnT-rxBgyoVBAStDvnVv6g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/wSjgw/~4/5DXYocLWrLU" height="1" width="1"/&gt;</content><feedburner:origLink>http://vincent119.blogspot.com/2009/07/mysql-backup-restore.html</feedburner:origLink></entry></feed>

