锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品久久久久久久久久影院,久久无码国产,亚洲精品乱码久久久久久蜜桃不卡 http://www.shnenglu.com/thronds/archive/2009/04/18/80393.htmlthrondsthrondsSat, 18 Apr 2009 13:18:00 GMThttp://www.shnenglu.com/thronds/archive/2009/04/18/80393.htmlhttp://www.shnenglu.com/thronds/comments/80393.htmlhttp://www.shnenglu.com/thronds/archive/2009/04/18/80393.html#Feedback0http://www.shnenglu.com/thronds/comments/commentRss/80393.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/80393.html鍦ㄧ綉涓婃壘鍒頒竴綃囨枃绔狅紝璁插湪UNIX涓嬭嚜鍔ㄧ櫥褰晅elnet錛?u>http://www.linuxeden.com/forum/t138058.html錛?/span>銆傝繖涓緥瀛愬緢涓嶉敊錛屼笅杈瑰鍏惰繘琛屽垎鏋愩?/font>
#===========autotelnet.sh==============
#!/bin/bash

tmptty=`tty` #
鍙栧緱褰撳墠鐨?/span>tty鍊?br>tmptty=`basename $tmptty` #鍘繪帀tty鐨勭粷瀵硅礬寰?br>tmpname=`whoami` #鍙栧緱褰撳墠鎵ц紼嬪簭鐨勭敤鎴峰悕
ip="10.22.33.44" #鐩爣涓繪満鍦板潃
inp1="ABC^M" #涓繪満鐨勭敤鎴峰悕錛屾敞鎰?/span>^M蹇呴』鍦?/span>UNIX涓嬮噸瑁呯敤浠ヤ笅鏂規硶杈撳叆鎵嶈兘鐢紒錛?br>#鏂規硶涓烘寜浣?/span>ctrl閿寜v閿紝涓嶆斁ctrl閿紝鍐嶆寜shift閿拰m閿紝瀹屾垚鍚庡叏閮ㄦ斁寮
inp2="ABC^M" #涓繪満鐨勫瘑鐮侊紝娉ㄦ剰蹇呴』鏈?/span>^M
inp3=
"ls^M" #鍏朵粬榪涘叆鍚庣殑鍛戒護錛屽彲鏃犳垨鐢?/span>ls涔嬬被鐨勫懡浠や唬鏇匡紝娉ㄦ剰蹇呴』鏈?/span>^M
inp4=
"pwd^M" #鍛戒護4錛屽悓涓?br>#--------------------------

inputfile=in #
瀵煎叆鏂囦歡綆¢亾鐢ㄧ殑錛屼笉瑕佹敼錛岃繖涓兼病鏈変換浣曞叧緋?br>outputfile=out.log #鏈緇堝鍑虹殑鏂囦歡
rm -fr $inputfile
rm -fr $outputfile
mknod $inputfile p
touch $outputfile

#file de
scription 7 for out and 8 for in 浣跨敤7浣滀負杈撳叆綆¢亾錛?/span>8浣滀負杈撳叆
exec 7<>$outputfile
exec 8<>$inputfile

telnet $ip <&8 >&7 &

sleep 2; echo $inp1 >> $inputfile #
鐪嬪緱鎳傚惂
sleep 2; echo $inp2 >> $inputfile
sleep 2; echo $inp3 >> $inputfile #
濡傛灉娌℃湁鍏朵粬鍛戒護錛岃繖琛屽拰涓嬩竴琛屽彲浠ュ幓鎺?br>sleep 2; echo $inp4 >> $inputfile

tail -f $outputfile &
寮哄埗鍦ㄥ睆騫曚笂鏄劇ず浠諱綍杈撳叆杈撳嚭

while true #
姝e父鎯呭喌涓嬪凡緇忚繘鍏ョ洰鏍囦富鏈轟簡錛屽彲浠ヨ緭鍏ヤ換浣曞懡浠わ紝鎵鏈夌殑涓鍒囪緭鍏ヨ緭鍑洪兘浼氳璁板綍
do
read str
if [[ $str =
"quit" || $str = "exit" ]]
then echo $str >> $inputfile exit
else echo $str >> $inputfile
fi
done

#
閫鍑烘椂鑷姩鏉鎺夌浉鍏寵繘紼?br>ps -ef | grep telnet | grep -v grep | grep -v telnetd | grep $tmptty | grep $tmpname | awk '{print " kill -9", $2}' | sh
ps -ef | grep tail | grep -v grep | grep -v telnetd | grep $tmptty | grep $tmpname | awk
'{print " kill -9", $2}' | sh
榪欐浠g爜瀹炵幇鐨勫姛鑳芥槸鍦║NIX緋葷粺涓婃墽琛岃繖涓?strong onmouseover='isShowAds = true;isShowAds2 = true;ads.Move(this,"","%u5FAE%u8F6F%u6700%u4F73%u811A%u672C%u8BED%u8A00%u793A%u4F8B%uFF0C%u9605%u8BFB%u8BF7%u70B9%u51FB%u3002","20295","鑴氭湰","%u811A%u672C","http%3A//go.microsoft.com/%3Flinkid%3D6331215")' style="FONT-WEIGHT: normal; CURSOR: hand; COLOR: #0000ff; TEXT-DECORATION: underline" onclick='javascript:window.open("http://rad.17luntan.com/ClickPortal/WebClick.aspx?id=20295&k=%u811A%u672C&siteid=95d6d193-1fb9-4fc0-8708-b7ceb3276924&url=http%3A//iamliujianfeng.bokee.com/viewdiary.12107831.html&gourl=http%3A//go.microsoft.com/%3Flinkid%3D6331215&parm=E597DF415C11D759D30BCC37737F1307523F540DB74FDF8B&alliedsiteid=0");' onmouseout="isShowAds = false;isShowAds2 = false;">鑴氭湰錛岃嚜鍔ㄧ櫥褰曞埌鑴氭湰涓彉閲?/span><ip>澹版槑浣跨敤鐨勪富鏈轟笂錛屽茍鐢ㄨ剼鏈腑<inp1>鍙橀噺鍜?lt;inp2>鐨勫煎垎鍒綔涓虹敤鎴峰悕鍜屽瘑鐮佽繘琛岃韓浠介獙璇併傜劧鍚庯紝鐢ㄦ埛鍙互鍦ㄦ帶鍒跺彴涓婅緭鍏ヤ換浣曞懡浠わ紝榪欎簺鍛戒護浼氳鍙戦佸埌榪滅涓繪満鎵ц銆傚洜姝わ紝鎴戠寽嫻嬭繖涓剼鏈殑浣滅敤鍜孲ecureCRT絳塗ELNET宸ュ叿鎻愪緵鐨勮嚜鍔ㄧ櫥褰曠殑鍔熻兘鏄竴鏍風殑銆?/font>
 
榪欎釜渚嬪瓙鐨勪富瑕佸師鐞嗘槸榪欐牱鐨勶細鐢ㄥ悗鍙版柟寮忓惎鍔ㄤ竴涓猼elnet榪涚▼銆傚皢榪欎釜榪涚▼鐨勮緭鍏ラ噸瀹氬悜鍒頒竴涓閬撴枃浠秈n錛屽悜榪欎釜綆¢亾鏂囦歡榪藉姞瑕佹墽琛岀殑鎸囦護錛屼篃灝辨槸灝嗘寚浠や紶閫佸埌telnet榪涚▼涓墽琛岋紱鍚屾椂錛屽皢榪欎釜榪涚▼鐨勮緭鍑洪噸瀹氬悜鑷充竴涓棩蹇楁枃浠秓ut.log涓紝tail –f榪欎釜鏃ュ織鏂囦歡錛屽氨鏄疄鏃跺埛鏂皌elnet鐨勮緭鍑恒?/font>
 
榪欓噷鏈夊嚑涓粏鑺傞棶棰橀渶瑕佽鏄庝竴涓嬶細
1銆?nbsp;鍚戠閬撴枃浠跺啓鍏ヨ鎵ц鐨勫懡浠ゆ椂錛屽繀欏繪湁涓涓粨鏉熸爣蹇楋紝鍛婅瘔telnet鍚姩鐨剆hell榪涚▼榪欐槸涓涓畬鏁寸殑鍛戒護錛屽彲浠ユ墽琛屼簡銆傝繖涓粨鏉熸爣蹇楀氨鏄?#8221; ^M”銆傝繖涓笢瑗跨殑杈撳叆榪樺緢澶嶆潅銆傛寜鐓т綔鑰呯殑璇存槑錛岃鍦║NIX緋葷粺涓婏紝鎸変綇Ctrl閿悗鎸塿閿紝鏉懼紑v閿繚鎸丆trl閿笉鏀撅紝鐒跺悗鎸変笅Shift閿悗鍐嶆寜M閿紝鐒跺悗鍚屾椂鏀懼紑Ctrl Shilf鍜孧涓変釜閿傚湪瀹為檯浣跨敤涓彂鐜幫紝涓嶉渶瑕丼hift閿紝鏀懼紑v閿箣鍚庣洿鎺ユ寜m閿嵆鍙紱
2銆?nbsp;鍦ㄩ噸瀹氬悜telnet鍚庡彴榪涚▼鐨勮緭鍏ユ椂錛屽洜涓鴻鎺у埗杈撳叆鍐呭鐨勯熷害錛堣絳夊埌鍑虹幇login浠ュ悗鎵嶈兘杈撳叆鐢ㄦ埛鍚嶏級錛屾墍浠ヤ笉鑳介噰鐢ㄦ枃浠朵腑鐩存帴淇濆瓨鐢ㄦ埛鍚嶃佸瘑鐮佸強鎵鏈夎鎵ц鎸囦護鐨勬柟寮忥紝瑕佹眰in鏂囦歡鏄┖鐨勩?/font>
3銆?nbsp;鍦ㄩ噸瀹氬悜telnet鍚庡彴榪涚▼鐨勮緭鍏ャ佽緭鍑烘椂錛屽繀欏諱嬌鐢ㄦ枃浠舵弿榪扮銆傚叿浣撳師鍥犺繕涓嶆竻妤氾紝浣嗙敤鏂囦歡鍚嶇О榪涜閲嶅畾鍚戝氨涓嶈錛?/font> 
4銆?nbsp;鍦ㄧ敤鎴瘋緭鍏uit鎴杄xit鍚庯紝闇瑕侀鍑哄悗鍙皌elnet榪涚▼浠ュ強tail –f榪涚▼銆傝剼鏈腑閲囩敤kill榪涚▼鐨勬柟寮忓疄鐜拌繖涓鐩爣銆傚洜涓簁iill榪涚▼鏃墮渶瑕佷竴浜涘弬鏁幫紝鍥犳鍦ㄨ剼鏈殑寮濮嬪璁板綍浜唗ty鐨勭被鍨嬬瓑淇℃伅錛?/font>
瀵逛簬鑴氭湰涓叿浣撴寚浠ょ殑瑙i噴錛屽弬鍔犲涓嬪垪琛ㄤ腑鐨勬敞閲?/font>
#!/bin/bash

tmptty=`tty`   
#鍙栧緱褰撳墠鐨?/span>tty鍊?/span>
tmptty=`basename $tmptty`  #鍘繪帀tty鐨勭粷瀵硅礬寰?/span>
tmpname=`whoami`          #鍙栧緱褰撳墠鎵ц紼嬪簭鐨勭敤鎴峰悕
                         
#浠ヤ笂淇℃伅鍦ㄦ渶鍚?/span>kill榪涚▼鏃朵綔涓虹瓫閫夋潯浠朵嬌鐢?/span>
ip="10.22.33.44"            #鐩爣涓繪満鍦板潃
inp1="ABC^M"             #涓繪満鐨勭敤鎴峰悕銆傛敞鎰?/span>^M蹇呴』鍦?/span>UNIX涓嬮噸瑁呯敤浠ヤ笅鏂規硶杈撳叆鎵嶈兘鐢紒錛?/span>
                         
 #鏂規硶涓烘寜浣?/span>ctrl閿寜v閿紝涓嶆斁ctrl閿紝鍐嶆寜shift閿拰m閿紝瀹屾垚鍚庡叏閮ㄦ斁寮
                         
#緇忚繃瀹為檯浣跨敤錛屼笉姣旀寜shilf閿篃鍙互
inp2="ABC^M"             #涓繪満鐨勫瘑鐮侊紝娉ㄦ剰蹇呴』鏈?/span>^M
inp3="ls^M"                 #鍏朵粬榪涘叆鍚庣殑鍛戒護錛屽彲鏃犳垨鐢?/span>ls涔嬬被鐨勫懡浠や唬鏇匡紝娉ㄦ剰蹇呴』鏈?/span>^M
inp4=
"pwd^M"               #鍛戒護4錛屽悓涓?br>#--------------------------

inputfile=in                    #
灝嗗懡浠ゅ鍏ュ悗鍙皌elnet榪涚▼鐢ㄧ殑綆¢亾鏂囦歡鍚嶇О
outputfile=out.log               #鍖呭惈telnet鍚庡彴榪涚▼杈撳叆鐨勬枃浠跺悕縐?/span>
rm -fr $inputfile                
rm -fr $outputfile               
mknod $inputfile p              #
寤虹珛綆¢亾鏂囦歡
touch $outputfile                #
寤虹珛杈撳嚭鏂囦歡


exec 7<>$outputfile             #灝嗘枃浠舵弿榪扮7鍒嗛厤緇?/span>outputfile
exec 8<>$inputfile              #
灝嗘枃浠舵弿榪扮8鍒嗛厤緇?/span>inputfile

telnet $ip <&8 >&7 &            #
鍚庡彴榪愯telent錛屽悓鏃墮噸瀹氬悜杈撳叆銆佽緭鍑?/span>

sleep 2; echo $inp1 >> $inputfile  #2
縐掑悗杈撳叆鐢ㄦ埛鍚?/span>
sleep 2; echo $inp2 >> $inputfile   #2縐掑悗杈撳叆瀵嗙爜
sleep 2; echo $inp3 >> $inputfile   #2
縐掑悗杈撳叆鍛戒護inp3
sleep 2; echo $inp4 >> $inputfile   #2縐掑悗杈撳叆鍛戒護inp3
                             
錛冭繖閲岄潰inp3鍜?/span>inp4鍙槸涓涓鏄庯紝瀵硅嚜鍔ㄧ櫥褰曞疄闄呬笂娌℃湁浠涔堜綔鐢?/span>
tail -f $outputfile &              錛?/span>寮哄埗鍦ㄥ睆騫曚笂鏄劇ず浠諱綍杈撳叆杈撳嚭

while true        #
姝e父鎯呭喌涓嬪凡緇忚繘鍏ョ洰鏍囦富鏈轟簡錛屽彲浠ヨ緭鍏ヤ換浣曞懡浠わ紝鎵鏈夌殑涓鍒囪緭鍏ヨ緭鍑洪兘浼氳璁板綍
do
read str
if [[ $str =
"quit" || $str = "exit" ]]
then echo $str >> $inputfile exit   #
榪欓噷鐨?/span>exit瀹為檯涓婃槸浠庡驚鐜腑閫鍑?/span>
else echo $str >> $inputfile
fi
done

#
閫鍑烘椂鑷姩鏉鎺夌浉鍏寵繘紼?br>ps -ef | grep telnet | grep -v grep | grep -v telnetd | grep $tmptty | grep $tmpname | awk '{print " kill -9", $2}' | sh
ps -ef | grep tail | grep -v grep | grep -v telnetd | grep $tmptty | grep $tmpname | awk
'{print " kill -9", $2}' | sh
 
鏄庣櫧浜嗚繖涓剼鏈殑鍘熺悊錛屾垜浠彲浠ュ仛涓涓瘯楠岋紝鐢ㄥ彟澶栦竴縐嶆洿鍔犳槑鏄劇殑鏂瑰紡鏉ュ仛杈撳叆杈撳嚭鐨勯噸瀹氬悜銆?/font>
 
1銆佹柊寤?涓櫘閫氭枃浠?span>    touch out.log
2銆佹柊寤轟竴涓閬撴枃浠?   mknod commands p
3銆佷負鏃ュ織鏂囦歡鍒嗛厤鏂囦歡鎻忚堪絎? 錛?nbsp;exec 7<>out.log
4銆佷負綆¢亾鏂囦歡鍒嗛厤鏂囦歡鎻忚堪絎?錛?span>   exec 8<>commands
5銆佸悗鍙版柟寮忓惎鍔╰elnet:             telnet 136.30.75.102 <&8 >&7 &
6銆佸疄鏃跺埛鏂拌緭鍑轟俊鎭細             tail –f out.log
7銆佸彟澶栧惎鍔ㄤ竴涓粓绔紝杈撳叆淇℃伅錛?/font> echo “root^M” >>commands
                                 echo “password^M”>>commands
                                 echo “pwd^M” >> commands
                                   ….
8銆佽瀵焧ail –f鐨勮緭鍑猴紝鍙互鐪嬪埌杈撳叆鍛戒護鐨勬墽琛岀粨鏋溿?/font>
 
 
鍦ㄨ繖涓剼鏈殑鍩虹涓婏紝鍙互瀹炵幇鑷姩telnet鍒頒竴涓富鏈轟笂騫舵墽琛屼竴浜涘垪command鐨勫姛鑳姐傝剼鏈涓嬶細
#!/bin/bash
 
tmptty=`tty`
tmptty=`basename $tmptty`
tmpname=`whoami`
ip="136.39.75.102"
inp1="root^M"
inp2="Easy2get^M"
#####################################################################
#you may add as many commands as you want
#NOTE:every command should end with ^M, which is input under UNIX
#     鏂規硶涓烘寜浣廲trl閿寜v閿紝涓嶆斁ctrl閿紝鍐嶆寜shift閿拰m閿紝瀹屾垚鍚庡叏閮ㄦ斁寮
#####################################################################
inp3="ls^M"
inp4="echo 'hello,TeMIP users' >> hello.txt^M"
 
#--------------------------
 
inputfile=in
outputfile=out.log
rm -fr $inputfile
rm -fr $outputfile
mknod $inputfile p
touch $outputfile
 
 
exec 7<>$outputfile
exec 8<>$inputfile
 
telnet $ip <&8 >&7 &
 
sleep 2; echo $inp1 >> $inputfile
sleep 2; echo $inp2 >> $inputfile
 
echo "executing command $inp3"
sleep 2; echo $inp3 >> $inputfile
echo "executing $inp4"
sleep 2; echo $inp4 >> $inputfile
echo "exiting"
sleep 2; echo "exit^M" >> $inputfile
 
 
rm $inputfile
rm $outputfile
 
闄勫綍錛歋hell涓殑杈撳叆/杈撳嚭
錛堟憳鑷狧P-UX 鍙傝冩墜鍐?鐢ㄦ埛鍛戒護 ksh錛?/font>
鍛戒護鎵ц涔嬪墠錛屽叾杈撳叆鍜岃緭鍑哄彲浠ヤ嬌鐢ㄤ笓鐢ㄨ〃紺烘硶閲嶅畾鍚戠敱Shell 瑙i噴銆備笅鍒楀唴瀹瑰彲浠ュ嚭鐜板湪綆鍗曞懡浠ゅ唴鐨勪換浣曚綅緗紝鎴栧湪鍛戒護涔嬪墠涔嬪悗錛屽茍涓斾笉浼犻掔粰璋冪敤鍛戒護銆傚懡浠ゅ拰鍙傛暟鏇挎崲鍙戠敓鍦ㄤ嬌鐢╳ord 鎴杁igit 涔嬪墠錛岄櫎闈炲涓嬫墍紺恒傛枃浠跺悕鐢熸垚浠呭嚭鐜板湪妯″紡鍖歸厤鍗曚竴鏂囦歡涓斾笉鎵ц絀虹櫧瑙i噴鏃躲?/font>
l         <word 浣跨敤鏂囦歡word 浣滀負鏍囧噯杈撳叆錛堟枃浠舵弿榪扮0 錛夈?/font>
l         >word 浣跨敤鏂囦歡word 浣滀負鏍囧噯杈撳嚭錛堟枃浠舵弿榪扮1 錛夈傚鏋滀笉瀛樺湪璇ユ枃浠訛紝灝嗗彟琛屽垱寤恒傚鏋滄枃浠跺瓨鍦紝騫朵笖浣跨敤noclobber 閫夐」錛屽垯鍙戠敓閿欒錛涘惁鍒欐枃浠惰鎴柇涓洪浂闀垮害銆?/font>
l         >|word 涓?gt; 鐩稿悓錛屽尯鍒湪浜庤鐩杗oclobber 閫夐」銆?/font>
l         >>word 浣跨敤鏂囦歡word 浣滀負鏍囧噯杈撳嚭銆傚鏋滄枃浠跺瓨鍦紝榪藉姞杈撳嚭鍒板叾涓紙閫氳繃棣栧厛鎼滅儲鏂囦歡鏈熬錛夛紱鍚﹀垯錛屽彟琛屽垱寤烘枃浠躲?/font>
l         <>word 鎵撳紑鏂囦歡word 浣滀負鏍囧噯杈撳叆浠ヨ繘琛岃鍙栧拰鍐欏叆銆傚鏋滀笉瀛樺湪璇ユ枃浠訛紝灝嗗彟琛屽垱寤恒?/font>
l         <<[ - ]word 璇誨彇Shell 杈撳叆鐩磋嚦鍑虹幇琛屼笌word 鍖歸厤錛屾垨鑰呮姷杈炬枃浠舵湯灝俱傚湪word 涓婃病鏈夋墽琛屽弬鏁版浛鎹€佸懡浠ゆ浛鎹㈡垨鏂囦歡鍚嶇敓鎴愩傚緱鍒扮殑鏂囨。縐頒負鏈枃妗o紝浣滀負鏍囧噯杈撳叆銆傚鏋滃紩鐢╳ord 鐨勪換鎰忓瓧絎︼紝涓嶅鏂囨。瀛楃榪涜瑙i噴銆傚惁鍒欙紝鍙戠敓鍙傛暟鍜屽懡浠ゆ浛鎹紝蹇界暐\newline錛屽繀欏諱嬌鐢╘ 寮曠敤瀛楃\ 銆? 銆?#8216; 鍜寃ord 鐨勭涓涓瓧絎︺傚鏋? 榪藉姞鍒?lt;< 錛屽垯浠巜ord 鍜屾枃妗e幓鎺夋墍鏈夊墠瀵煎埗琛ㄧ銆?/font>
l         <&digit 浠庢枃浠舵弿榪扮澶嶅埗鏍囧噯杈撳叆digit 錛堣鍙傞槄dup(2) 錛夈?/font>
l         >&digit 鏍囧噯杈撳嚭澶嶅埗鍒版枃浠舵弿榪扮digit 錛堣鍙傞槄dup(2) 錛夈?/font>
l         <&- 鏍囧噯杈撳叆鍏抽棴銆?/font>
l         >&- 鏍囧噯杈撳嚭鍏抽棴銆?/font>
l         <&p 鏉ヨ嚜鑱斿悎榪涚▼鐨勮緭鍏ョЩ鍔ㄥ埌鏍囧噯杈撳叆銆?/font>
l         >&p 鍒拌仈鍚堣繘紼嬪幓鐨勮緭鍑虹Щ鍔ㄥ埌鏍囧噯杈撳嚭銆?/font>
濡傛灉涓婅堪涓欏規湁鏁板瓧鍓嶅錛屾枃浠舵弿榪扮鍙峰紩鐢ㄧ敱璇ユ暟瀛楁寚瀹氾紙鍙栦唬緙虹渷鐨? 鎴? 錛夈備緥濡傦細
... 2>&1
鎰忓懗鐫鏂囦歡鎻忚堪絎? 鎵撳紑錛屼綔涓烘枃浠舵弿榪扮1 鐨勫壇鏈敤浜庡啓鍏ャ傞噸瀹氬悜欏哄簭寰堥噸瑕侊紝鍥犱負Shell 鏍規嵁褰撳墠鎵撳紑鏂囦歡鍦ㄨ綆楁椂涓庢寚瀹氭枃浠舵弿榪扮鐨勫叧鑱旇綆楅噸瀹氬悜寮曠敤鏂囦歡鎻忚堪絎︺備緥濡傦細
... 1>fname 2>&1
棣栧厛鍒嗛厤鏂囦歡鎻忚堪絎?錛堟爣鍑嗚緭鍑猴級緇欐枃浠秄name 錛岀劧鍚庡垎閰嶆枃浠舵弿榪扮2錛堟爣鍑嗛敊璇級緇欏垎閰嶇粰鏂囦歡鎻忚堪絎?鐨勬枃浠訛紝涔熷氨鏄痜name 銆傚彟涓鏂歸潰錛屽鏋滈噸瀹氬悜欏哄簭鍙嶈漿濡備笅錛?/font>
... 2>&1 1>fname
鏂囦歡鎻忚堪絎? 鍒嗛厤緇欏綋鍓嶆爣鍑嗚緭鍑猴紝錛堢敤鎴風粓绔紝闄ら潪緇ф壙浜嗕笉鍚岀殑鍒嗛厤錛夈傛鏃舵枃浠舵弿榪扮1 閲嶆柊鍒嗛厤緇欐枃浠秄name 錛屼笉鏇存敼鏂囦歡鎻忚堪絎? 鐨勫垎閰嶃?/font>
co-process 鐨勮緭鍏ュ拰杈撳嚭鍙Щ鍔ㄥ埌澶氫釜鏂囦歡鎻忚堪絎︼紝鍏佽鍏朵粬鍛戒護浣跨敤涓婅堪閲嶅畾鍚戣繍綆楃鍚戝叾涓啓鍏ュ拰璇誨彇銆傚鏋滃綋鍓峜o-process 杈撳叆縐誨姩鍒板涓枃浠舵弿榪扮錛屽彟涓涓猚o-process 寮濮嬨?/font>
濡傛灉鍛戒護鍚庤窡闅?amp; 騫朵笖浣滀笟鎺у埗闈炴椿鍔ㄧ姸鎬侊紝鍛戒護鐨勭己鐪佹爣鍑嗚緭鍏ヤ負絀烘枃浠?dev/null 銆傚惁鍒欙紝鎵ц鍛戒護鐨勭幆澧冨寘鎷皟鐢⊿hell 鐨勬枃浠舵弿榪扮錛岄氳繃杈撳叆/杈撳嚭瑙勬牸淇敼
http://blog.csdn.net/muyuqing/archive/2007/04/27/1586824.aspx

thronds 2009-04-18 21:18 鍙戣〃璇勮
]]>
ubuntu8.10涓嬬紪璇戝ソ鐨勭▼搴?鍒皉edhat鏈嶅姟鍣ㄤ笂紕板埌鐨勯棶棰? glibc_2.4 not foundhttp://www.shnenglu.com/thronds/archive/2009/03/28/78199.htmlthrondsthrondsSat, 28 Mar 2009 15:01:00 GMThttp://www.shnenglu.com/thronds/archive/2009/03/28/78199.htmlhttp://www.shnenglu.com/thronds/comments/78199.htmlhttp://www.shnenglu.com/thronds/archive/2009/03/28/78199.html#Feedback3http://www.shnenglu.com/thronds/comments/commentRss/78199.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/78199.html闃呰鍏ㄦ枃

thronds 2009-03-28 23:01 鍙戣〃璇勮
]]>
鍦↙inux鍜學indows涓嬫惌寤篊VS鏈嶅姟鍣ㄤ笌CVS瀹㈡埛绔殑璇︾粏閰嶇疆鎸囧崡http://www.shnenglu.com/thronds/archive/2009/03/27/78040.htmlthrondsthrondsFri, 27 Mar 2009 07:34:00 GMThttp://www.shnenglu.com/thronds/archive/2009/03/27/78040.htmlhttp://www.shnenglu.com/thronds/comments/78040.htmlhttp://www.shnenglu.com/thronds/archive/2009/03/27/78040.html#Feedback0http://www.shnenglu.com/thronds/comments/commentRss/78040.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/78040.html闃呰鍏ㄦ枃

thronds 2009-03-27 15:34 鍙戣〃璇勮
]]>
vnc server閰嶇疆(server&client)瑭崇窗http://www.shnenglu.com/thronds/archive/2009/02/19/74323.htmlthrondsthrondsThu, 19 Feb 2009 12:12:00 GMThttp://www.shnenglu.com/thronds/archive/2009/02/19/74323.htmlhttp://www.shnenglu.com/thronds/comments/74323.htmlhttp://www.shnenglu.com/thronds/archive/2009/02/19/74323.html#Feedback0http://www.shnenglu.com/thronds/comments/commentRss/74323.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/74323.html涓轟簡綆鍗曪紝鎴戝氨浣跨敤浜哃inux鑷甫鐨剉nc-server銆?  闃呰鍏ㄦ枃

thronds 2009-02-19 20:12 鍙戣〃璇勮
]]>
[澶氬浘]Ubuntu8.10瀹夎WordPress2.7鐨勮緇嗘楠?/title><link>http://www.shnenglu.com/thronds/archive/2009/02/17/74085.html</link><dc:creator>thronds</dc:creator><author>thronds</author><pubDate>Tue, 17 Feb 2009 13:39:00 GMT</pubDate><guid>http://www.shnenglu.com/thronds/archive/2009/02/17/74085.html</guid><wfw:comment>http://www.shnenglu.com/thronds/comments/74085.html</wfw:comment><comments>http://www.shnenglu.com/thronds/archive/2009/02/17/74085.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/thronds/comments/commentRss/74085.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/thronds/services/trackbacks/74085.html</trackback:ping><description><![CDATA[     鎽樿: 榪戞棩鏈夊績涓哄笇濂ュ紑婧愭敼閫犱竴涓畝媧佺殑涓婚錛岀敱浜庡鉤鏃ョ殑宸ヤ綔澶ч儴鍒嗛兘鏄湪Ubuntu涓嬪畬鎴愮殑錛岃繖鏍鳳紝WordPress涓婚鐨勬祴璇曡皟璇曞綋鐒朵篃瑕佷氦緇橴buntu鏉ュ共浜嗐傝繖涔熸槸鎴戝啓榪欑瘒鏂囩珷鐨勫垵琛楓傞佺粰閭d簺闇瑕佸湪鏈湴璋冭瘯WordPress涓婚鍜屾彃浠剁殑鏈嬪弸錛屽綋鐒舵渶閲嶈鐨勬槸鍔涙眰綆鍗曘?<br> <br>瀹夎WordPress錛屼笉鑳戒笉鑰冭檻鍒癮pache銆丮ySQL銆丳HP鐨勮緗棶棰橈紝涓涓緇嗗寲鐨勮瘽鑲畾鐩稿綋綣佺悙錛屾墍浠ョ瑪鑰呮兂鍒頒簡鍙互璁╂柊绔嬪緱杞歡鍖呯鐞嗗櫒鎶婅繖浜涙椿緇嗗寲璁劇疆鐨勮瘽閮芥徑涓嬶紝鐩殑鏄厤鍘誨崟鐙厤緗產pache銆丮ySQL鍜孭HP鐨勭儲鎭箋傞棽璇濆皯璇淬?<br>  <a href='http://www.shnenglu.com/thronds/archive/2009/02/17/74085.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/thronds/aggbug/74085.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/thronds/" target="_blank">thronds</a> 2009-02-17 21:39 <a href="http://www.shnenglu.com/thronds/archive/2009/02/17/74085.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍦↙inux涓嬪畨瑁呭拰浣跨敤MySQLhttp://www.shnenglu.com/thronds/archive/2009/02/17/74070.htmlthrondsthrondsTue, 17 Feb 2009 12:12:00 GMThttp://www.shnenglu.com/thronds/archive/2009/02/17/74070.htmlhttp://www.shnenglu.com/thronds/comments/74070.htmlhttp://www.shnenglu.com/thronds/archive/2009/02/17/74070.html#Feedback0http://www.shnenglu.com/thronds/comments/commentRss/74070.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/74070.html闃呰鍏ㄦ枃

thronds 2009-02-17 20:12 鍙戣〃璇勮
]]>
Where is Log file in Ubuntuhttp://www.shnenglu.com/thronds/archive/2008/12/20/69934.htmlthrondsthrondsSat, 20 Dec 2008 13:58:00 GMThttp://www.shnenglu.com/thronds/archive/2008/12/20/69934.htmlhttp://www.shnenglu.com/thronds/comments/69934.htmlhttp://www.shnenglu.com/thronds/archive/2008/12/20/69934.html#Feedback0http://www.shnenglu.com/thronds/comments/commentRss/69934.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/69934.htmlAll logs are stored in /var/log directory under Ubuntu (and other Linux distro).From[1]

Linux Log files and usage

=> /var/log/messages : General log messages

=> /var/log/boot : System boot log

=> /var/log/debug : Debugging log messages

=> /var/log/auth.log : User login and authentication logs

=> /var/log/daemon.log : Running services such as squid, ntpd and others log message to this file

=> /var/log/dmesg : Linux kernel ring buffer log

=> /var/log/dpkg.log : All binary package log includes package installation and other information

=> /var/log/faillog : User failed login log file

=> /var/log/kern.log : Kernel log file

=> /var/log/lpr.log : Printer log file

=> /var/log/mail.* : All mail server message log files

=> /var/log/mysql.* : MySQL server log file

=> /var/log/user.log : All userlevel logs

=> /var/log/xorg.0.log : X.org log file

=> /var/log/apache2/* : Apache web server log files directory

=> /var/log/lighttpd/* : Lighttpd web server log files directory

=> /var/log/fsck/* : fsck command log

=> /var/log/apport.log : Application crash report / log file

To view log files at shell prompt

Use tail, more, less and grep command.
tail -f /var/log/apport.log
more /var/log/xorg.0.log
cat /var/log/mysql.err
less /var/log/messages
grep -i fail /var/log/boot

View log files using GUI tools using the GNOME System Log Viewer

System Log Viewer is a graphical, menu-driven viewer that you can use to view and monitor your system logs. System Log Viewer comes with a few functions that can help you manage your logs, including a calendar, log monitor and log statistics display. System Log Viewer is useful if you are new to system administration because it provides an easier, more user-friendly display of your logs than a text display of the log file. It is also useful for more experienced administrators, as it contains a calendar to help you locate trends and track problems, as well as a monitor to enable you to continuously monitor crucial logs.

You can start System Log Viewer in the following ways:

Click on System menu > Choose Administration > System Log

(The GNOME System Log Viewer)

Note you can start the GNOME System Log Viewer from a shell prompt, by entering the following command:
$ gnome-system-log &

[1]www.cyberciti.biz/faq/ubuntu-linux-gnome-system-log-viewer/



thronds 2008-12-20 21:58 鍙戣〃璇勮
]]>
Bonfire: 鍗曠綉鍗″湪Linux涓嬬敤squid浠g悊涓婄綉錛堢畝鏄撹緗?(鎺ㄨ崘)http://www.shnenglu.com/thronds/archive/2008/12/17/69681.htmlthrondsthrondsWed, 17 Dec 2008 13:48:00 GMThttp://www.shnenglu.com/thronds/archive/2008/12/17/69681.htmlhttp://www.shnenglu.com/thronds/comments/69681.htmlhttp://www.shnenglu.com/thronds/archive/2008/12/17/69681.html#Feedback0http://www.shnenglu.com/thronds/comments/commentRss/69681.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/69681.html闃呰鍏ㄦ枃

thronds 2008-12-17 21:48 鍙戣〃璇勮
]]>
涓嶈兘make,鎵句笉鍒癿akefile,瀹夎緙栬瘧鐜鐨勮繃紼?http://www.shnenglu.com/thronds/archive/2008/12/17/69651.htmlthrondsthrondsWed, 17 Dec 2008 08:36:00 GMThttp://www.shnenglu.com/thronds/archive/2008/12/17/69651.htmlhttp://www.shnenglu.com/thronds/comments/69651.htmlhttp://www.shnenglu.com/thronds/archive/2008/12/17/69651.html#Feedback0http://www.shnenglu.com/thronds/comments/commentRss/69651.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/69651.html闃呰鍏ㄦ枃

thronds 2008-12-17 16:36 鍙戣〃璇勮
]]>
Linux涓嬪畨瑁匛clipsehttp://www.shnenglu.com/thronds/archive/2008/12/10/69061.htmlthrondsthrondsWed, 10 Dec 2008 06:23:00 GMThttp://www.shnenglu.com/thronds/archive/2008/12/10/69061.htmlhttp://www.shnenglu.com/thronds/comments/69061.htmlhttp://www.shnenglu.com/thronds/archive/2008/12/10/69061.html#Feedback0http://www.shnenglu.com/thronds/comments/commentRss/69061.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/69061.html闃呰鍏ㄦ枃

thronds 2008-12-10 14:23 鍙戣〃璇勮
]]>
Linux涓嶹indows鏂囦歡浜掗氾紒http://www.shnenglu.com/thronds/archive/2008/12/07/68691.htmlthrondsthrondsSun, 07 Dec 2008 08:55:00 GMThttp://www.shnenglu.com/thronds/archive/2008/12/07/68691.htmlhttp://www.shnenglu.com/thronds/comments/68691.htmlhttp://www.shnenglu.com/thronds/archive/2008/12/07/68691.html#Feedback0http://www.shnenglu.com/thronds/comments/commentRss/68691.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/68691.html闃呰鍏ㄦ枃

thronds 2008-12-07 16:55 鍙戣〃璇勮
]]>
ubuntu緋葷粺涓嬬殑ssh鏈嶅姟鍣ㄧ鎼緩http://www.shnenglu.com/thronds/archive/2008/11/17/67153.htmlthrondsthrondsMon, 17 Nov 2008 15:01:00 GMThttp://www.shnenglu.com/thronds/archive/2008/11/17/67153.htmlhttp://www.shnenglu.com/thronds/comments/67153.htmlhttp://www.shnenglu.com/thronds/archive/2008/11/17/67153.html#Feedback0http://www.shnenglu.com/thronds/comments/commentRss/67153.htmlhttp://www.shnenglu.com/thronds/services/trackbacks/67153.html闃呰鍏ㄦ枃

thronds 2008-11-17 23:01 鍙戣〃璇勮
]]>
人妻无码久久精品| 一本久久久久久久| 亚洲性久久久影院| 久久国产三级无码一区二区| 久久久噜噜噜www成人网| 久久中文精品无码中文字幕| 99re久久精品国产首页2020| 一级a性色生活片久久无少妇一级婬片免费放| 久久99精品久久久久婷婷| 91精品国产综合久久久久久| 久久精品黄AA片一区二区三区| 国产精品亚洲美女久久久| 欧美亚洲国产精品久久高清| 久久人妻无码中文字幕| 久久免费视频1| 国产91久久综合| 久久久久人妻一区精品| 思思久久精品在热线热| 中文精品久久久久国产网址| 国内精品久久久久影院一蜜桃| 久久99久久无码毛片一区二区 | 成人久久精品一区二区三区 | 精品国产婷婷久久久| 九九99精品久久久久久| 久久香综合精品久久伊人| 久久亚洲AV永久无码精品| 亚洲AV无码久久精品狠狠爱浪潮| 久久久久亚洲av无码专区 | 色综合久久中文字幕无码| 色欲av伊人久久大香线蕉影院| 99精品久久精品一区二区| 国产真实乱对白精彩久久| 人妻精品久久久久中文字幕一冢本| 三级韩国一区久久二区综合| 怡红院日本一道日本久久 | 国产一级做a爰片久久毛片| 久久电影网2021| 久久久久人妻一区二区三区| 久久国产色AV免费观看| 中文国产成人精品久久不卡| 久久精品毛片免费观看|