锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久国产一区二区,国产精品99久久久久久猫咪,午夜精品久久久久成人http://m.shnenglu.com/niewenlong/archive/2018/03/25/215570.html#215571鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sun, 25 Mar 2018 10:21:00 GMThttp://m.shnenglu.com/niewenlong/archive/2018/03/25/215570.html#215571


HISTFILESIZE=0
HISTSIZE=0
export MYSQL_HISTFILE=/dev/null

]]>
re: chromium .cipd_client 澶辮觸鐨勮В鍐沖姙娉?/title><link>http://m.shnenglu.com/niewenlong/archive/2018/01/05/215433.html#215457</link><dc:creator>鑱傛枃榫?/dc:creator><author>鑱傛枃榫?/author><pubDate>Fri, 05 Jan 2018 15:02:00 GMT</pubDate><guid>http://m.shnenglu.com/niewenlong/archive/2018/01/05/215433.html#215457</guid><description><![CDATA[# 璁劇疆ss<br>git config --global http.proxy 'socks5://127.0.0.1:1080'<br><br>git config --global https.proxy 'socks5://127.0.0.1:1080'<br><br># 璁劇疆浠g悊<br>git config --global https.proxy <a target="_new" >http://127.0.0.1:1080</a><br><br>git config --global https.proxy <a target="_new" >https://127.0.0.1:1080</a><br><br># 鍙栨秷浠g悊<br>git config --global --unset http.proxy<br><br>git config --global --unset https.proxy<img src ="http://m.shnenglu.com/niewenlong/aggbug/215457.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/niewenlong/" target="_blank">鑱傛枃榫?/a> 2018-01-05 23:02 <a href="http://m.shnenglu.com/niewenlong/archive/2018/01/05/215433.html#215457#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>re: 寰俊web鐗?鍗忚http://m.shnenglu.com/niewenlong/archive/2017/05/09/214918.html#214919鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Tue, 09 May 2017 06:17:00 GMThttp://m.shnenglu.com/niewenlong/archive/2017/05/09/214918.html#214919
https://login.weixin.qq.com/jslogin?appid=wx782c26e4c19acffb&redirect_uri=https%3A%2F%2Fwx.qq.com%2Fcgi-bin%2Fmmwebwx-bin%

2Fwebwxnewloginpage&fun=new&lang=zh_CN&_=1388994062250




鑾峰彇浜岀淮鐮?br>
https://login.weixin.qq.com/qrcode/錛媢uid錛?t=webwx




絳夊緟鎵弿Get

https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=1&_=1388975894359

https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=1&_=1388975873359

https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=1&_=1388975883859




鎵弿浜?榪斿洖

window.code=201;

鏈壂鎻忚繑鍥炵┖




鎵弿涔嬪悗-絎竴嬈¤姹傛垚鍔?br>
https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxstatreport?type=1&r=1388975895453




{"BaseRequest":{"Uin":0,"Sid":0},"Count":1,"List":[{"Type":1,"Text":"/cgi-bin/mmwebwx-bin/login, First Request Success, uuid:

454d958c7f6243"}]}




鎵弿涔嬪悗-絎簩嬈¤姹傚紑濮?br>
https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxstatreport?type=1&r=1388975895453




{"BaseRequest":{"Uin":0,"Sid":0},"Count":1,"List":[{"Type":1,"Text":"/cgi-bin/mmwebwx-bin/login, Second Request Start, uuid:

454d958c7f6243"}]}




絳夊緟紜Get

https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=0&_=1388975895453

https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=0&_=1388975900953

https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=0&_=1388975906453

https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?uuid=454d958c7f6243&tip=0&_=1388975911953




鎵嬫満紜-榪斿洖

window.code=200;

window.redirect_uri="https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxnewloginpage?

ticket=03f725a8039d418ab79c69b6ffbd771b&lang=zh_CN&scan=1388975896";

鏈‘璁よ繑鍥炵┖




get 鐧婚檰鑾峰彇Cookie

https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxnewloginpage?

ticket=03f725a8039d418ab79c69b6ffbd771b&lang=zh_CN&scan=1388975896&fun=new

--璁劇疆Cookie 榪斿洖涓涓姸鎬?br>



post 絎簩嬈¤姹傛垚鍔?br>
https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxstatreport?type=1&r=1388976086218




{"BaseRequest":{"Uin":0,"Sid":0},"Count":1,"List":[{"Type":1,"Text":"/cgi-bin/mmwebwx-bin/login, Second Request Success,

uuid: 454d958c7f6243, time: 190765ms"}]}




post 琛ㄧず鐧婚檰鎴愬姛-榪斿洖閲嶈鐨勬暟鎹甼ey123

https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxinit?r=1388976086484




{"BaseRequest":{"Uin":"750366800","Sid":"e75TXbI7TnKUevmI","Skey":"","DeviceID":"e519062714508114"}}




post 鍙兘鏄幏鍙栧垪琛?br>
https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=e75TXbI7TnKUevmI&r=1388976086734




{"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI"},"SyncKey":{"Count":4,"List":[{"Key":1,"Val":620916854},

{"Key":2,"Val":620917961},{"Key":3,"Val":620917948},{"Key":1000,"Val":1388967977}]},"rr":1388976086734}

--榪欓噷鐨勫唴瀹瑰湪涓婁竴姝ヨ繑鍥炵粨鏋滈噷




post 鍙兘鏄幏鍙栧綋鍓嶄細璇濆垪琛?澶ф暟鎹?br>
https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgetcontact?r=1388976086734




{}




post 鍙兘鏄湪鎵嬫満涓婃樉紺虹殑鎻愮ず淇℃伅

https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxstatusnotify?r=1388976086750




{"BaseRequest":

{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI","Skey":"","DeviceID":"e519062714508114"},"Code":3,"FromUserName":"langyeie","ToUser

Name":"langyeie","ClientMsgId":"1388976086750"}




get 鑾峰彇澶村儚鍥劇墖

https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgeticon?seq=1388335457&username=langyeie




get 鍚岀悊鍙互鑾峰彇鍏朵粬寰俊濂藉弸鐨勫ご鍍?br>
https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgeticon?seq=620917759&username=wxid_xx3mtgeux5511




post 鏇存敼浠涔堢姸鎬侊紵鏍囪宸茶錛?br>
https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxbatchgetcontact?type=ex&r=1388976086812




{"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI","Skey":"","DeviceID":"e519062714508114"},"Count":10,"List":

[{"UserName":"z_zer0v","ChatRoomId":3445229833},{"UserName":"huobao002","ChatRoomId":3445229833},

{"UserName":"wxid_jo4qxoep4go411","ChatRoomId":3445229833},{"UserName":"jijunlong123456","ChatRoomId":3445229833},

{"UserName":"wxid_toyaj4qwrynb21","ChatRoomId":3445229833},{"UserName":"wxid_6655286553012","ChatRoomId":3445229833},

{"UserName":"wxid_rankrke1kkyd12","ChatRoomId":3445229833},{"UserName":"wxid_chcblpm846k022","ChatRoomId":3445229833},

{"UserName":"tw297554396","ChatRoomId":3445229833},{"UserName":"wxid_3076050756212","ChatRoomId":3445229833}]}




get headimg 錛熷ご鍍忥紵

https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxgetheadimg?seq=620917806&username=3445229833@chatroom










get 鐩戝惉浼氳瘽

https://webpush.weixin.qq.com/cgi-bin/mmwebwx-bin/synccheck?

callback=jQuery18308660551080269895_1388975862078&r=1388976091937&sid=e75TXbI7TnKUevmI&uin=750366800&deviceid=e51906271450811

4&synckey=1_620916854%7C2_620917963%7C3_620917948%7C201_1388976090%7C1000_1388967977&_=1388976091937




https://webpush.weixin.qq.com/cgi-bin/mmwebwx-bin/synccheck?

callback=jQuery18308660551080269895_1388975862078&r=1388976119062&sid=e75TXbI7TnKUevmI&uin=750366800&deviceid=e51906271450811

4&synckey=1_620916854%7C2_620917963%7C3_620917948%7C201_1388976090%7C1000_1388967977&_=1388976119078




https://webpush.weixin.qq.com/cgi-bin/mmwebwx-bin/synccheck?

callback=jQuery18308660551080269895_1388975862078&r=1388976173375&sid=e75TXbI7TnKUevmI&uin=750366800&deviceid=e51906271450811

4&synckey=1_620916854%7C2_620917963%7C3_620917948%7C201_1388976090%7C1000_1388967977&_=1388976173390




https://webpush.weixin.qq.com/cgi-bin/mmwebwx-bin/synccheck?

callback=jQuery18308660551080269895_1388975862078&r=1388976146265&sid=e75TXbI7TnKUevmI&uin=750366800&deviceid=e51906271450811

4&synckey=1_620916854%7C2_620917963%7C3_620917948%7C201_1388976090%7C1000_1388967977&_=1388976146265

姝e父榪斿洖緇撴灉

window.synccheck={retcode:"0",selector:"0"}

鏈夋秷鎭繑鍥炵粨鏋?br>
window.synccheck={retcode:"0",selector:"6"}

鍙戦佹秷鎭繑鍥炵粨鏋?br>
window.synccheck={retcode:"0",selector:"2"}

鏈嬪弸鍦堟湁鍔ㄦ?br>
window.synccheck={retcode:"0",selector:"4"}







鑾峰彇娑堟伅-post-璁劇疆Cookie

https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=e75TXbI7TnKUevmI&r=1388977398062




{"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI"},"SyncKey":{"Count":5,"List":[{"Key":1,"Val":620916854},

{"Key":2,"Val":620917978},{"Key":3,"Val":620917975},{"Key":201,"Val":1388977392},

{"Key":1000,"Val":1388967977}]},"rr":1388977398062}




https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=e75TXbI7TnKUevmI&r=1388977583250




{"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI"},"SyncKey":{"Count":5,"List":[{"Key":1,"Val":620916854},

{"Key":2,"Val":620917980},{"Key":3,"Val":620917975},{"Key":201,"Val":1388977400},

{"Key":1000,"Val":1388967977}]},"rr":1388977583250}




https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=e75TXbI7TnKUevmI&r=1388977660750




{"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI"},"SyncKey":{"Count":5,"List":[{"Key":1,"Val":620916854},

{"Key":2,"Val":620917982},{"Key":3,"Val":620917975},{"Key":201,"Val":1388977585},

{"Key":1000,"Val":1388967977}]},"rr":1388977660750}







post 鍙戦佹秷鎭?br>
https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsendmsg?sid=e75TXbI7TnKUevmI&r=1388977830140




{"BaseRequest":

{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI","Skey":"D6EBA5FA425CAE258F24E75CF51F2E1B4EEA9C5338BE456C","DeviceID":"e519062714508

114"},"Msg":

{"FromUserName":"langyeie","ToUserName":"pp80000","Type":1,"Content":"55","ClientMsgId":1388977830140,"LocalID":1388977830140

}}




https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsync?sid=e75TXbI7TnKUevmI&r=1388977830390




{"BaseRequest":{"Uin":750366800,"Sid":"e75TXbI7TnKUevmI"},"SyncKey":{"Count":5,"List":[{"Key":1,"Val":620916854},

{"Key":2,"Val":620917986},{"Key":3,"Val":620917975},{"Key":201,"Val":1388977776},

{"Key":1000,"Val":1388967977}]},"rr":1388977830390}


get 鏈夋秷鎭潵錛屽搷閾?br>鏉ヨ嚜鍗冩槑璁哄潧 http://www.3d56.net/

]]>
re: 鐩鎬技鍥劇墖鎼滅儲hash鐨刾hp瀹炵幇http://m.shnenglu.com/niewenlong/archive/2016/09/22/214290.html#214291鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Thu, 22 Sep 2016 03:07:00 GMThttp://m.shnenglu.com/niewenlong/archive/2016/09/22/214290.html#214291$instance = ImgHash::getInstance();
$result = $instance->checkIsSimilarImg('chenyin/IMG_3214.png', 'chenyin/IMG_3212.JPG');
濡傛灉$result鍊間負true, 鍒欒〃鏄?涓浘鐗囩浉浼鹼紝鍚﹀垯涓嶇浉浼箋?img src ="http://m.shnenglu.com/niewenlong/aggbug/214291.html" width = "1" height = "1" />

]]>
re: Gnome3鎻愬彇gnome-shell.css浠ュ強淇敼鍜岀紪璇?/title><link>http://m.shnenglu.com/niewenlong/archive/2016/08/18/214208.html#214209</link><dc:creator>鑱傛枃榫?/dc:creator><author>鑱傛枃榫?/author><pubDate>Thu, 18 Aug 2016 14:39:00 GMT</pubDate><guid>http://m.shnenglu.com/niewenlong/archive/2016/08/18/214208.html#214209</guid><description><![CDATA[#! /bin/sh<br> <br>gst=/usr/share/gnome-shell/gnome-shell-theme.gresource<br>cd gnome-shell<br><br>for r in `gresource list $gst`; do<br> gresource extract $gst $r > ${r/#\/org\/gnome\/shell\/theme/.}<br>done<br><br>#! /bin/sh<br> <br>#change workdir to suit your system<br>workdir=/tmp/lala<br>gst=/usr/share/gnome-shell/gnome-shell-theme.gresource<br>mkdir theme<br><br>for r in `gresource list $gst`; do<br> gresource extract $gst $r >$workdir${r/#\/org\/gnome\/shell/}<br>done<br><br><br><br>mkdir /tmp/lala<br>bash -x /tmp/lala.sh <br>cd /tmp/lala/theme<img src ="http://m.shnenglu.com/niewenlong/aggbug/214209.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/niewenlong/" target="_blank">鑱傛枃榫?/a> 2016-08-18 22:39 <a href="http://m.shnenglu.com/niewenlong/archive/2016/08/18/214208.html#214209#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>re: history鍛戒護鐨勮褰曞浣曞垹闄わ紵http://m.shnenglu.com/niewenlong/archive/2016/08/05/60764.html#214114鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Fri, 05 Aug 2016 06:39:00 GMThttp://m.shnenglu.com/niewenlong/archive/2016/08/05/60764.html#214114
bash shell搴旇淇濆瓨灝戦噺鐨勫懡浠わ紝騫朵笖鍦ㄦ瘡嬈$敤鎴鋒敞閿鏃墮兘鎶婅繖浜涘巻鍙插懡浠ゅ垹闄ゃ?
絎竴姝ワ細

鈥?etc/profile鈥濇枃浠朵腑鐨勨淗ISTFILESIZE鈥濆拰鈥淗ISTSIZE鈥濊紜畾鎵鏈夌敤鎴風殑鈥?bash_history鈥濇枃浠朵腑鍙互淇?瀛樼殑鏃у懡浠ゆ潯鏁般傚己鐑堝緩璁妸鎶娾?etc/profile鈥濇枃浠朵腑鐨勨淗ISTFILESIZE鈥濆拰鈥淗ISTSIZE鈥濊鐨勫艱涓轟竴涓緝灝忕殑鏁幫紝姣斿 30銆傜紪杈憄rofile鏂囦歡錛坴i /etc/profile錛夛紝鎶婁笅闈㈣繖琛屾敼涓猴細
HISTFILESIZE=30
HISTSIZE=30
榪欒〃紺烘瘡涓敤鎴風殑鈥?bash_history鈥濇枃浠跺彧鍙互淇濆瓨30鏉℃棫鍛戒護銆?

絎簩姝ワ細

緗戠榪樺簲璇ュ湪"/etc/skel/.bash_logout" 鏂囦歡涓坊鍔犱笅闈㈣繖琛?quot;rm -f $HOME/.bash_history" 銆傝繖鏍鳳紝褰撶敤鎴鋒瘡嬈℃敞閿鏃訛紝鈥?bash_history鈥濇枃浠墮兘浼氳鍒犻櫎.

]]>
re: Linux涓璮ind甯歌鐢ㄦ硶紺轟緥http://m.shnenglu.com/niewenlong/archive/2016/07/02/213806.html#213833鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sat, 02 Jul 2016 03:01:00 GMThttp://m.shnenglu.com/niewenlong/archive/2016/07/02/213806.html#213833
find . -name "*.*" -type f ! -name "*.htm" -type f ! -name "*.jpg" | xargs grep 鎶樻墸浠?img src ="http://m.shnenglu.com/niewenlong/aggbug/213833.html" width = "1" height = "1" />

]]>
re: Linux涓璮ind甯歌鐢ㄦ硶紺轟緥http://m.shnenglu.com/niewenlong/archive/2016/06/26/213806.html#213808鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sun, 26 Jun 2016 10:38:00 GMThttp://m.shnenglu.com/niewenlong/archive/2016/06/26/213806.html#213808

]]>
re: Linux涓璮ind甯歌鐢ㄦ硶紺轟緥http://m.shnenglu.com/niewenlong/archive/2016/06/26/213806.html#213807鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sun, 26 Jun 2016 10:21:00 GMThttp://m.shnenglu.com/niewenlong/archive/2016/06/26/213806.html#2138071錛庡懡浠ゆ牸寮忥細
find pathname -options [-print -exec -ok ...]
2錛庡懡浠ゅ姛鑳斤細
鐢ㄤ簬鍦ㄦ枃浠舵爲縐嶆煡鎵炬枃浠訛紝騫朵綔鍑虹浉搴旂殑澶勭悊
3錛庡懡浠ゅ弬鏁幫細
pathname: find鍛戒護鎵鏌ユ壘鐨勭洰褰曡礬寰勩備緥濡傜敤.鏉ヨ〃紺哄綋鍓嶇洰褰曪紝鐢?鏉ヨ〃紺虹郴緇熸牴鐩綍銆?
-print錛?find鍛戒護灝嗗尮閰嶇殑鏂囦歡杈撳嚭鍒版爣鍑嗚緭鍑恒?
-exec錛?find鍛戒護瀵瑰尮閰嶇殑鏂囦歡鎵ц璇ュ弬鏁版墍緇欏嚭鐨剆hell鍛戒護銆傜浉搴斿懡浠ょ殑褰㈠紡涓?command' { } \;錛屾敞鎰弡 }鍜孿錛涗箣闂寸殑絀烘牸銆?
-ok錛?鍜?exec鐨勪綔鐢ㄧ浉鍚岋紝鍙笉榪囦互涓縐嶆洿涓哄畨鍏ㄧ殑妯″紡鏉ユ墽琛岃鍙傛暟鎵緇欏嚭鐨剆hell鍛戒護錛屽湪鎵ц姣忎竴涓懡浠や箣鍓嶏紝閮戒細緇欏嚭鎻愮ず錛岃鐢ㄦ埛鏉ョ‘瀹氭槸鍚︽墽琛屻?br>4錛庡懡浠ら夐」錛?br>-name 鎸夌収鏂囦歡鍚嶆煡鎵炬枃浠躲?br>-perm 鎸夌収鏂囦歡鏉冮檺鏉ユ煡鎵炬枃浠躲?br>-prune 浣跨敤榪欎竴閫夐」鍙互浣縡ind鍛戒護涓嶅湪褰撳墠鎸囧畾鐨勭洰褰曚腑鏌ユ壘錛屽鏋滃悓鏃朵嬌鐢?depth閫夐」錛岄偅涔?prune灝嗚find鍛戒護蹇界暐銆?br>-user 鎸夌収鏂囦歡灞炰富鏉ユ煡鎵炬枃浠躲?br>-group 鎸夌収鏂囦歡鎵灞炵殑緇勬潵鏌ユ壘鏂囦歡銆?br>-mtime -n +n 鎸夌収鏂囦歡鐨勬洿鏀規椂闂存潵鏌ユ壘鏂囦歡錛?- n琛ㄧず鏂囦歡鏇存敼鏃墮棿璺濈幇鍦╪澶╀互鍐咃紝+ n琛ㄧず鏂囦歡鏇存敼鏃墮棿璺濈幇鍦╪澶╀互鍓嶃俧ind鍛戒護榪樻湁-atime鍜?ctime 閫夐」錛屼絾瀹冧滑閮藉拰-m time閫夐」銆?br>-nogroup 鏌ユ壘鏃犳湁鏁堟墍灞炵粍鐨勬枃浠訛紝鍗寵鏂囦歡鎵灞炵殑緇勫湪/etc/groups涓笉瀛樺湪銆?br>-nouser 鏌ユ壘鏃犳湁鏁堝睘涓葷殑鏂囦歡錛屽嵆璇ユ枃浠剁殑灞炰富鍦?etc/passwd涓笉瀛樺湪銆?br>-newer file1 ! file2 鏌ユ壘鏇存敼鏃墮棿姣旀枃浠秄ile1鏂頒絾姣旀枃浠秄ile2鏃х殑鏂囦歡銆?br>-type 鏌ユ壘鏌愪竴綾誨瀷鐨勬枃浠訛紝璇稿錛?br>b - 鍧楄澶囨枃浠躲?br>d - 鐩綍銆?br>c - 瀛楃璁懼鏂囦歡銆?br>p - 綆¢亾鏂囦歡銆?br>l - 絎﹀彿閾炬帴鏂囦歡銆?br>f - 鏅氭枃浠躲?br>-size n錛歔c] 鏌ユ壘鏂囦歡闀垮害涓簄鍧楃殑鏂囦歡錛屽甫鏈塩鏃惰〃紺烘枃浠墮暱搴︿互瀛楄妭璁°?depth錛氬湪鏌ユ壘鏂囦歡鏃訛紝棣栧厛鏌ユ壘褰撳墠鐩綍涓殑鏂囦歡錛岀劧鍚庡啀鍦ㄥ叾瀛愮洰褰曚腑鏌ユ壘銆?br>-fstype錛氭煡鎵句綅浜庢煇涓綾誨瀷鏂囦歡緋葷粺涓殑鏂囦歡錛岃繖浜涙枃浠剁郴緇熺被鍨嬮氬父鍙互鍦ㄩ厤緗枃浠?etc/fstab涓壘鍒幫紝璇ラ厤緗枃浠朵腑鍖呭惈浜嗘湰緋葷粺涓湁鍏蟲枃浠剁郴緇熺殑淇℃伅銆?br>-mount錛氬湪鏌ユ壘鏂囦歡鏃朵笉璺ㄨ秺鏂囦歡緋葷粺mount鐐廣?br>-follow錛氬鏋渇ind鍛戒護閬囧埌絎﹀彿閾炬帴鏂囦歡錛屽氨璺熻釜鑷抽摼鎺ユ墍鎸囧悜鐨勬枃浠躲?br>-cpio錛氬鍖歸厤鐨勬枃浠朵嬌鐢╟pio鍛戒護錛屽皢榪欎簺鏂囦歡澶囦喚鍒扮甯﹁澶囦腑銆?br>鍙﹀,涓嬮潰涓変釜鐨勫尯鍒?
-amin n 鏌ユ壘緋葷粺涓渶鍚嶯鍒嗛挓璁塊棶鐨勬枃浠?br>-atime n 鏌ユ壘緋葷粺涓渶鍚巒*24灝忔椂璁塊棶鐨勬枃浠?br>-cmin n 鏌ユ壘緋葷粺涓渶鍚嶯鍒嗛挓琚敼鍙樻枃浠剁姸鎬佺殑鏂囦歡
-ctime n 鏌ユ壘緋葷粺涓渶鍚巒*24灝忔椂琚敼鍙樻枃浠剁姸鎬佺殑鏂囦歡
-mmin n 鏌ユ壘緋葷粺涓渶鍚嶯鍒嗛挓琚敼鍙樻枃浠舵暟鎹殑鏂囦歡
-mtime n 鏌ユ壘緋葷粺涓渶鍚巒*24灝忔椂琚敼鍙樻枃浠舵暟鎹殑鏂囦歡
5錛庝嬌鐢ㄥ疄渚嬶細
瀹炰緥1錛氭煡鎵炬寚瀹氭椂闂村唴淇敼榪囩殑鏂囦歡
鍛戒護錛?br> find -atime -2
杈撳嚭錛?br>
澶嶅埗浠g爜浠g爜濡備笅:

[root@peidachang ~]# find -atime -2
.
./logs/monitor
./.bashrc
./.bash_profile
./.bash_history
璇存槑錛?br>瓚呮壘48灝忔椂鍐呬慨鏀硅繃鐨勬枃浠?br>瀹炰緥2錛氭牴鎹叧閿瓧鏌ユ壘
鍛戒護錛?br>find . -name "*.log"
杈撳嚭錛?br>
澶嶅埗浠g爜浠g爜濡備笅:

[root@localhost test]# find . -name "*.log"
./log_link.log
./log2014.log
./test4/log3-2.log
./test4/log3-3.log
./test4/log3-1.log
./log2013.log
./log2012.log
./log.log
./test5/log5-2.log
./test5/log5-3.log
./test5/log.log
./test5/log5-1.log
./test5/test3/log3-2.log
./test5/test3/log3-3.log
./test5/test3/log3-1.log
./test3/log3-2.log
./test3/log3-3.log
./test3/log3-1.log
璇存槑錛?br>鍦ㄥ綋鍓嶇洰褰曟煡鎵?浠?log緇撳熬鐨勬枃浠躲?". "浠h〃褰撳墠鐩綍
瀹炰緥3錛氭寜鐓х洰褰曟垨鏂囦歡鐨勬潈闄愭潵鏌ユ壘鏂囦歡
鍛戒護錛?br>find /opt/soft/test/ -perm 777
杈撳嚭錛?br>
澶嶅埗浠g爜浠g爜濡備笅:

[root@localhost test]# find /opt/soft/test/ -perm 777
/opt/soft/test/log_link.log
/opt/soft/test/test4
/opt/soft/test/test5/test3
/opt/soft/test/test3
璇存槑錛?br>鏌ユ壘/opt/soft/test/鐩綍涓?鏉冮檺涓?777鐨勬枃浠?br>瀹炰緥4錛氭寜綾誨瀷鏌ユ壘
鍛戒護錛?br>find . -type f -name "*.log"
杈撳嚭錛?br>
澶嶅埗浠g爜浠g爜濡備笅:

[root@localhost test]# find . -type f -name "*.log"
./log2014.log
./test4/log3-2.log
./test4/log3-3.log
./test4/log3-1.log
./log2013.log
./log2012.log
./log.log
./test5/log5-2.log
./test5/log5-3.log
./test5/log.log
./test5/log5-1.log
./test5/test3/log3-2.log
./test5/test3/log3-3.log
./test5/test3/log3-1.log
./test3/log3-2.log
./test3/log3-3.log
./test3/log3-1.log
[root@localhost test]#
璇存槑錛?br>鏌ユ壘褰撶洰褰曪紝浠?log緇撳熬鐨勬櫘閫氭枃浠?br>瀹炰緥5錛氭煡鎵懼綋鍓嶆墍鏈夌洰褰曞茍鎺掑簭
鍛戒護錛?br>find . -type d | sort
杈撳嚭錛?br>
澶嶅埗浠g爜浠g爜濡備笅:

[root@localhost test]# find . -type d | sort
.
./scf
./scf/bin
./scf/doc
./scf/lib
./scf/service
./scf/service/deploy
./scf/service/deploy/info
./scf/service/deploy/product
./test3
./test4
./test5
./test5/test3
[root@localhost test]#
瀹炰緥6錛氭寜澶у皬鏌ユ壘鏂囦歡
鍛戒護錛?br>find . -size +1000c -print
杈撳嚭錛?br>
澶嶅埗浠g爜浠g爜濡備笅:

[root@localhost test]# find . -size +1000c -print
.
./test4
./scf
./scf/lib
./scf/service
./scf/service/deploy
./scf/service/deploy/product
./scf/service/deploy/info
./scf/doc
./scf/bin
./log2012.log
./test5
./test5/test3
./test3
[root@localhost test]#
璇存槑錛?br>鏌ユ壘褰撳墠鐩綍澶т簬1K鐨勬枃浠?br>涓銆丩inux涓璮ind甯歌鐢ㄦ硶紺轟緥
·find path -option [ -print ] [ -exec -ok command ] {} \;
#-print 灝嗘煡鎵懼埌鐨勬枃浠惰緭鍑哄埌鏍囧噯杈撳嚭
#-exec command {} \; -----灝嗘煡鍒扮殑鏂囦歡鎵цcommand鎿嶄綔,{} 鍜?\;涔嬮棿鏈夌┖鏍?br>#-ok 鍜?exec鐩稿悓錛屽彧涓嶈繃鍦ㄦ搷浣滃墠瑕佽鐢ㄦ埛 ==================================================== -name filename #鏌ユ壘鍚嶄負filename鐨勬枃浠?br>-perm #鎸夋墽琛屾潈闄愭潵鏌ユ壘
-user username #鎸夋枃浠跺睘涓繪潵鏌ユ壘
-group groupname #鎸夌粍鏉ユ煡鎵?br>-mtime -n +n #鎸夋枃浠舵洿鏀規椂闂存潵鏌ユ壘鏂囦歡錛?n鎸噉澶╀互鍐咃紝+n鎸噉澶╀互鍓?br>-atime -n +n #鎸夋枃浠惰闂椂闂存潵鏌IN: 0px">-perm #鎸夋墽琛屾潈闄愭潵鏌ユ壘
-user username #鎸夋枃浠跺睘涓繪潵鏌ユ壘
-group groupname #鎸夌粍鏉ユ煡鎵?br>-mtime -n +n #鎸夋枃浠舵洿鏀規椂闂存潵鏌ユ壘鏂囦歡錛?n鎸噉澶╀互鍐咃紝+n鎸噉澶╀互鍓?br>-atime -n +n #鎸夋枃浠惰闂椂闂存潵鏌ユ壘鏂囦歡錛?n鎸噉澶╀互鍐咃紝+n鎸噉澶╀互鍓?
-ctime -n +n #鎸夋枃浠跺垱寤烘椂闂存潵鏌ユ壘鏂囦歡錛?n鎸噉澶╀互鍐咃紝+n鎸噉澶╀互鍓?
-nogroup #鏌ユ棤鏈夋晥灞炵粍鐨勬枃浠訛紝鍗蟲枃浠剁殑灞炵粍鍦?etc/groups涓笉瀛樺湪
-nouser #鏌ユ棤鏈夋晥灞炰富鐨勬枃浠訛紝鍗蟲枃浠剁殑灞炰富鍦?etc/passwd涓笉瀛?br>-newer f1 !f2 鎵炬枃浠訛紝-n鎸噉澶╀互鍐咃紝+n鎸噉澶╀互鍓?
-ctime -n +n #鎸夋枃浠跺垱寤烘椂闂存潵鏌ユ壘鏂囦歡錛?n鎸噉澶╀互鍐咃紝+n鎸噉澶╀互鍓?
-nogroup #鏌ユ棤鏈夋晥灞炵粍鐨勬枃浠訛紝鍗蟲枃浠剁殑灞炵粍鍦?etc/groups涓笉瀛樺湪
-nouser #鏌ユ棤鏈夋晥灞炰富鐨勬枃浠訛紝鍗蟲枃浠剁殑灞炰富鍦?etc/passwd涓笉瀛?br>-newer f1 !f2 #鏌ユ洿鏀規椂闂存瘮f1鏂頒絾姣攆2鏃х殑鏂囦歡
-type b/d/c/p/l/f #鏌ユ槸鍧楄澶囥佺洰褰曘佸瓧絎﹁澶囥佺閬撱佺鍙烽摼鎺ャ佹櫘閫氭枃浠?br>-size n[c] #鏌ラ暱搴︿負n鍧梉鎴杗瀛楄妭]鐨勬枃浠?br>-depth #浣挎煡鎵懼湪榪涘叆瀛愮洰褰曞墠鍏堣鏌ユ壘瀹屾湰鐩綍
-fstype #鏌ユ洿鏀規椂闂存瘮f1鏂頒絾姣攆2鏃х殑鏂囦歡
-mount #鏌ユ枃浠舵椂涓嶈法瓚婃枃浠剁郴緇焟ount鐐?br>-follow #濡傛灉閬囧埌絎﹀彿閾炬帴鏂囦歡錛屽氨璺熻釜閾炬帴鎵鎸囩殑鏂囦歡
-cpio #瀵瑰尮閰嶇殑鏂囦歡浣跨敤cpio鍛戒護錛屽皢浠栦滑澶囦喚鍒扮甯﹁澶囦腑
-prune #蹇界暐鏌愪釜鐩綍 ====================================================
$find ~ -name "*.txt" -print #鍦?HOME涓煡.txt鏂囦歡騫舵樉紺?br>$find . -name "*.txt" -print
$find . -name "[A-Z]*" -pri26nbsp; #瀵瑰尮閰嶇殑鏂囦歡浣跨敤cpio鍛戒護錛屽皢浠栦滑澶囦喚鍒扮甯﹁澶囦腑
-prune #蹇界暐鏌愪釜鐩綍 $find . -name "[A-Z]*" -print #鏌ヤ互澶у啓瀛楁瘝寮澶寸殑鏂囦歡
$find /etc -name "host*" -print #鏌ヤ互host寮澶寸殑鏂囦歡
$find . -name "[a-z][a-z][0--9][0--9].txt" -print #鏌ヤ互涓や釜灝忓啓瀛楁瘝鍜屼袱涓暟瀛楀紑澶寸殑txt鏂囦歡
$find . -perm 755 -print
$find . -perm -007 -exec ls -l {} \; #鏌ユ墍鏈夌敤鎴烽兘鍙鍐欐墽琛岀殑鏂囦歡鍚?perm 777
$find . -type d -print 鎵撳嵃鐩綍緇撴瀯
$find . ! -type d -print 鎵撳嵃闈炵洰褰曟枃浠?find /usr/include -name '*.h' -exec grep AF_INEF6 {} \; 鍥爂rep鏃犳硶閫掑綊鎼滅儲瀛愮洰褰曪紝鏁呭彲浠ュ拰find鐩哥粨鍚堜嬌鐢ㄣ?鍦?usr/include 鎵鏈夊瓙鐩綍涓殑.h鏂囦歡涓壘瀛椾覆AF_INEF6
$find . -type l -print $find . -size +1000000c -print #鏌ラ暱搴﹀ぇ浜?Mb鐨勬枃浠?br>$find . -size 100c -print # 鏌ラ暱搴︿負100c鐨勬枃浠?br>$find . -size +10 -print #鏌ラ暱搴﹁秴榪囨湡浣滃簾10鍧楃殑鏂囦歡錛?鍧?512瀛楄妭錛?$cd /
$find etc home apps -depth -print | cpio -ivcdC65536 -o /dev/rmt0
$find /etc -name "passwd*" -exec grep "cnscn" {} \; #鐪嬫槸鍚﹀瓨鍦╟nscn鐢ㄦ埛
$find . -name "yao*" | xargs file
$find . -name "yao*" | xargs echo "" > /tmp/core.log
$find . -name "yao*" | xargs chmod o-w ====================================================== find -name april* 鍦ㄥ綋鍓嶇洰褰曚笅鏌ユ壘浠pril寮濮嬬殑鏂囦歡
find -name april* fprint file 鍦ㄥ綋鍓嶇洰褰曚笅鏌ユ壘浠pril寮濮嬬殑鏂囦歡錛屽茍鎶婄粨鏋滆緭鍑哄埌file涓?br>find -name ap* -o -name may* 鏌ユ壘浠p鎴杕ay寮澶寸殑鏂囦歡
find /mnt -name tom.txt -ftype vfat 鍦?mnt涓嬫煡鎵懼悕縐頒負tom.txt涓旀枃浠剁郴緇熺被鍨嬩負vfat鐨勬枃浠?br>find /mnt -name t.txt ! -ftype vfat 鍦?mnt涓嬫煡鎵懼悕縐頒負tom.txt涓旀枃浠剁郴緇熺被鍨嬩笉涓簐fat鐨勬枃浠?br>find /tmp -name wa* -type l 鍦?tmp涓嬫煡鎵懼悕涓簑a寮澶翠笖綾誨瀷涓虹鍙烽摼鎺ョ殑鏂囦歡
find /home -mtime -2 鍦?home涓嬫煡鏈榪戜袱澶╁唴鏀瑰姩榪囩殑鏂囦歡
find /home -atime -1 鏌?澶╀箣鍐呰瀛樺彇榪囩殑鏂囦歡
find /home -mmin +60 鍦?home涓嬫煡60鍒嗛挓鍓嶆敼鍔ㄨ繃鐨勬枃浠?br>find /home -amin +30 鏌ユ渶榪?0鍒嗛挓鍓嶈瀛樺彇榪囩殑鏂囦歡
find /home -newer tmp.txt 鍦?home涓嬫煡鏇存柊鏃墮棿姣攖mp.txt榪戠殑鏂囦歡鎴栫洰褰?br>find /home -anewer tmp.txt 鍦?home涓嬫煡瀛樺彇鏃墮棿姣攖mp.txt榪戠殑鏂囦歡鎴栫洰褰?br>find /home -used -2 鍒楀嚭鏂囦歡鎴栫洰褰曡鏀瑰姩榪囦箣鍚庯紝鍦?鏃ュ唴琚瓨鍙栬繃鐨勬枃浠舵垨鐩綍
find /home -user cnscn 鍒楀嚭/home鐩綍鍐呭睘浜庣敤鎴穋nscn鐨勬枃浠舵垨鐩綍
find /home -uid +501 鍒楀嚭/home鐩綍鍐呯敤鎴風殑璇嗗埆鐮佸ぇ浜?01鐨勬枃浠舵垨鐩綍
find /home -group cnscn 鍒楀嚭/home鍐呯粍涓篶nscn鐨勬枃浠舵垨鐩綍
find /home -gid 501 鍒楀嚭/home鍐呯粍id涓?01鐨勬枃浠舵垨鐩綍
find /home -nouser 鍒楀嚭/home鍐呬笉灞炰簬鏈湴鐢ㄦ埛鐨勬枃浠舵垨鐩綍
find /home -nogroup 鍒楀嚭/home鍐呬笉灞炰簬鏈湴緇勭殑鏂囦歡鎴栫洰褰?br>find /home -name tmp.txt -maxdepth 4 鍒楀嚭/home鍐呯殑tmp.txt 鏌ユ椂娣卞害鏈澶氫負3灞?br>find /home -name tmp.txt -mindepth 3 浠庣2灞傚紑濮嬫煡
find /home -empty 鏌ユ壘澶у皬涓?鐨勬枃浠舵垨絀虹洰褰?br>find /home -size +512k 鏌ュぇ浜?12k鐨勬枃浠?br>find /home -size -512k 鏌ュ皬浜?12k鐨勬枃浠?br>find /home -links +2 鏌ョ‖榪炴帴鏁板ぇ浜?鐨勬枃浠舵垨鐩綍
find /home -perm 0700 鏌ユ潈闄愪負700鐨勬枃浠舵垨鐩綍
find /tmp -name tmp.txt -exec cat {} \;
find /tmp -name tmp.txt -ok rm {} \; find / -amin -10 # 鏌ユ壘鍦ㄧ郴緇熶腑鏈鍚?0鍒嗛挓璁塊棶鐨勬枃浠?br>find / -atime -2 # 鏌ユ壘鍦ㄧ郴緇熶腑鏈鍚?8灝忔椂璁塊棶鐨勬枃浠?br>find / -empty # 鏌ユ壘鍦ㄧ郴緇熶腑涓虹┖鐨勬枃浠舵垨鑰呮枃浠跺す
find / -group cat # 鏌ユ壘鍦ㄧ郴緇熶腑灞炰簬 groupcat鐨勬枃浠?br>find / -mmin -5 # 鏌ユ壘鍦ㄧ郴緇熶腑鏈鍚?鍒嗛挓閲屼慨鏀硅繃鐨勬枃浠?br>find / -mtime -1 #鏌ユ壘鍦ㄧ郴緇熶腑鏈鍚?4灝忔椂閲屼慨鏀硅繃鐨勬枃浠?br>find / -nouser #鏌ユ壘鍦ㄧ郴緇熶腑灞炰簬浣滃簾鐢ㄦ埛鐨勬枃浠?br>find / -user fred #鏌ユ壘鍦ㄧ郴緇熶腑灞炰簬FRED榪欎釜鐢ㄦ埛鐨勬枃浠?br>
鏌ュ綋鍓嶇洰褰曚笅鐨勬墍鏈夋櫘閫氭枃浠?
-------------------------------------------------------------------------------- # find . -type f -exec ls -l {} \;
-rw-r--r-- 1 root root 34928 2003-02-25 ./conf/httpd.conf
-rw-r--r-- 1 root root 12959 2003-02-25 ./conf/magic
-rw-r--r-- 1 root root 180 2003-02-25 ./conf.d/README
鏌ュ綋鍓嶇洰褰曚笅鐨勬墍鏈夋櫘閫氭枃浠訛紝騫跺湪- e x e c閫夐」涓嬌鐢╨s -l鍛戒護灝嗗畠浠垪鍑?
=================================================
鍦? l o g s鐩綍涓煡鎵炬洿鏀規椂闂村湪5鏃ヤ互鍓嶇殑鏂囦歡騫跺垹闄ゅ畠浠細
$ find logs -type f -mtime +5 -exec -ok rm {} \;
=================================================
鏌ヨ褰撳ぉ淇敼榪囩殑鏂囦歡
[root@book class]# find ./ -mtime -1 -type f -exec ls -l {} \;
=================================================
鏌ヨ鏂囦歡騫惰闂槸鍚﹁鏄劇ず
[root@book class]# find ./ -mtime -1 -type f -ok ls -l {} \;
< ls ... ./classDB.inc.php > ? y
-rw-r--r-- 1 cnscn cnscn 13709 1鏈?12 12:22 ./classDB.inc.php
[root@book class]# find ./ -mtime -1 -type f -ok ls -l {} \;
< ls ... ./classDB.inc.php > ? n
[root@book class]# =================================================
鏌ヨ騫朵氦緇檃wk鍘誨鐞?br>[root@book class]# who | awk '{print $1"\t"$2}'
cnscn pts/0 =================================================
awk---grep---sed [root@book class]# df -k | awk '{print $1}' | grep -v 'none' | sed s"/\/dev\///g"
鏂囦歡緋葷粺
sda2
sda1
[root@book class]# df -k | awk '{print $1}' | grep -v 'none'
鏂囦歡緋葷粺
/dev/sda2
/dev/sda1


1)鍦?tmp涓煡鎵炬墍鏈夌殑*.h錛屽茍鍦ㄨ繖浜涙枃浠朵腑鏌ユ壘鈥淪YSCALL_VECTOR"錛屾渶鍚庢墦鍗板嚭鎵鏈夊寘鍚?quot;SYSCALL_VECTOR"鐨勬枃浠跺悕 A) find /tmp -name "*.h" | xargs -n50 grep SYSCALL_VECTOR
B) grep SYSCALL_VECTOR /tmp/*.h | cut -d':' -f1| uniq > filename
C) find /tmp -name "*.h" -exec grep "SYSCALL_VECTOR" {} \; -print
2)find / -name filename -exec rm -rf {} \;
find / -name filename -ok rm -rf {} \;
3)姣斿瑕佹煡鎵劇鐩樹腑澶т簬3M鐨勬枃浠訛細
find . -size +3000k -exec ls -ld {} ;
4)灝唂ind鍑烘潵鐨勪笢瑗挎嫹鍒板彟涓涓湴鏂?br>find *.c -exec cp '{}' /tmp ';' 濡傛灉鏈夌壒孌婃枃浠訛紝鍙互鐢╟pio錛屼篃鍙互鐢ㄨ繖鏍風殑璇硶錛?br>find dir -name filename -print | cpio -pdv newdir
6)鏌ユ壘2004-11-30 16:36:37鏃舵洿鏀硅繃鐨勬枃浠?br># A=`find ./ -name "*php"` | ls -l --full-time $A 2>/dev/null | grep "2004-11-30 16:36:37
浜屻乴inux涓媐ind鍛戒護鐨勭敤娉?br>1. 鍩烘湰鐢ㄦ硶錛?br> find / -name 鏂囦歡鍚? find ver1.d ver2.d -name '*.c' -print 鏌ユ壘ver1.d,ver2.d *.c鏂囦歡騫舵墦鍗? find . -type d -print 浠庡綋鍓嶇洰褰曟煡鎵撅紝浠呮煡鎵劇洰褰曪紝鎵懼埌鍚庯紝鎵撳嵃璺緞鍚嶃傚彲鐢ㄤ簬鎵撳嵃鐩綍緇撴瀯銆?br>2. 鏃犻敊璇煡鎵撅細
find / -name access_log 2 >/dev/null
3. 鎸夊昂瀵告煡鎵撅細
find / -size 1500c 錛堟煡鎵?,500瀛楄妭澶у皬鐨勬枃浠訛紝c琛ㄧず瀛楄妭錛?br> find / -size +1500c 錛堟煡鎵懼ぇ浜?,500瀛楄妭澶у皬鐨勬枃浠訛紝+琛ㄧず澶т簬錛?
find / -size +1500c 錛堟煡鎵懼皬浜?,500瀛楄妭澶у皬鐨勬枃浠訛紝-琛ㄧず灝忎簬錛?
4. 鎸夋椂闂達細
find / -amin n 鏈鍚巒鍒嗛挓
find / -atime n 鏈鍚巒澶?br> find / -cmin n 鏈鍚巒鍒嗛挓鏀瑰彉鐘舵?br> find / -ctime n 鏈鍚巒澶╂敼鍙樼姸鎬?br>5. 鍏跺畠錛?br> find / -empty 絀虹櫧鏂囦歡銆佺┖鐧芥枃浠跺す銆佹病鏈夊瓙鐩綍鐨勬枃浠跺す
find / -false 鏌ユ壘緋葷粺涓繪槸閿欒鐨勬枃浠?br> find / -fstype type 鎵懼瓨鍦ㄤ簬鎸囧畾鏂囦歡緋葷粺鐨勬枃浠訛紝濡倀ype涓篹xt2
find / -gid n 緇刬d涓簄鐨勬枃浠?br> find / -group gname 緇勫悕涓篻name鐨勬枃浠?br> find / -depth n 鍦ㄦ煇灞傛寚瀹氱洰褰曚腑浼樺厛鏌ユ壘鏂囦歡鍐呭
find / -maxdepth levels 鍦ㄦ煇涓眰嬈$洰褰曚腑鎸夐掑噺鏂瑰紡鏌ユ壘
6. 閫昏緫
-and 鏉′歡涓?-or 鏉′歡鎴?br>7. 鏌ユ壘瀛楃涓?br> find . -name '*.html' -exec grep 'mailto:'{}

]]>
re: Debian 6(squeeze)瀹夎閰嶇疆Nginx + PHP5 + PHP-fpm + MySQL鐜http://m.shnenglu.com/niewenlong/archive/2016/06/26/213797.html#213805鑱傛枃榫?/dc:creator>鑱傛枃榫?/author>Sun, 26 Jun 2016 05:09:00 GMThttp://m.shnenglu.com/niewenlong/archive/2016/06/26/213797.html#213805鍒版渶鍚庡湪緇堢鎵ц php -v
PHP 5.4.4-11 (cli) (built: Dec 17 2012 08:39:10)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
涓嶇煡閬揕AMP鎼緩鎴愬姛娌℃湁銆傛惌寤烘垚鍔熷悗濡備綍嫻嬭瘯緙栧啓鍚庣殑PHP緗戦〉鏂囦歡銆?br>鍘熶唬鐮佺紪璇戝畨瑁卐Accelerator
鎵ц./configure --enable-eaccelerator=shared --with-php-config=/usr/local/bin/php-config
鏄劇ず緇撴灉涓篶onfigure: error: Cannot find php-config. Please use --with-php-config=PATH


浠ヤ笅涓篖AMP緗戜笂鏁欑▼
==============================================
鍦?Debian 涓婃惌寤?PHP 鐜鍏跺疄寰堢畝鍗曘傜敤鍑犱釜鍛戒護灝辮銆?br>鏇存柊 apt
apt-get update
鍗囩駭杞歡
apt-get upgrade
瀹夎 闃垮笗濂?br>apt-get install apache2
瀹夎 mysql
apt-get install mysql-server mysql-client
瀹夎 nginx
apt-get install nginx
瀹夎 lighttpd
apt-get install lighttpd
瀹夎 php 浠ュ強鎻掍歡錛堜綘鑷繁鍙互鎸夐渶澧炲垹錛?榪欓噷宸茬粡瀹夎浜?memcache,suhosin 絳夋彃浠?br>apt-get install php5-common php5-mysql php5-cgi php5-gd php5-mcrypt libapache2-mod-php5 php5-memcache php5-imagick php5-xmlrpc php5-suhosin php-pear php5-curl php5-dev php5-idn php5-imap php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xsl
瀹夎 eAccelerator

tar xvjf eaccelerator-0.9.5.2.tar.bz2
cd eaccelerator-0.9.5.2
phpize
./configure --enable-eaccelerator=shared --with-php-config=/usr/local/bin/php-config
make
make install
vim /etc/php5/cli/php.ini 鐒跺悗鍦ㄩ噷闈㈠姞鍏?br>
extension=eaccelerator.so

eaccelerator.shm_size="16"

eaccelerator.cache_dir="/tmp/eaccelerator"
錛?榪欓噷鏄紦瀛樻枃浠跺す錛岃鍦?/tmp 涓嬫柊寤轟竴涓紝璁劇疆鏉冮檺 chmod 777 /tmp/eaccelerator
eaccelerator.enable="1"

eaccelerator.optimizer="1"

eaccelerator.check_mtime="1"

eaccelerator.debug="0"

eaccelerator.filter=""

eaccelerator.shm_max="0"

eaccelerator.shm_ttl="0"

eaccelerator.shm_prune_period="0"

eaccelerator.shm_only="0"

eaccelerator.compress="1"

eaccelerator.compress_level="9"
鏈鍚庨噸鍚?apache
php -v 鏉ユ煡鐪嬫槸涓嶆槸宸茬粡瀹夎瀹屾垚

瀹夎Squid
apt-get install squid

鑷蟲浣嶇疆 php 鏈嶅姟鍣ㄧ浉鍏寵蔣浠舵湇鍔″熀鏈兘瀹夎鍏ㄤ簡錛屼綘鍙互鎸夌収鑷繁鐨勯渶姹傚鍒犮傚綋鐒朵綘涔熷彲浠ヤ笉鐢?mysql 鑰屼嬌鐢?postgreSQL 鏁版嵁搴撱?br>apt-get install postgresql
榪欓噷浣犱篃鍙互鐢?xcache錛寈debug絳夋彃浠?br>瀹夎 xdebug
apt-get install php5-xdebug
瀹夎 xcache
apt-get install php5-xcache

鍏充簬閰嶇疆錛屾湁鏃墮棿鍐嶅姞涓?br>
澶囨敞錛?br>榪欓噷鏈変釜闂錛屽綋鎴戝畨瑁呭畬涓婅堪涓緋誨垪涓滆タ浠ュ悗錛屾垜鍙戠幇鎴戞棤娉曡繍琛?php 紼嬪簭錛屼負浠涔堝憿錛熷師鏉?apache鏃犳硶鍚姩浜嗭紝璇存槸鍗犻浜?80 绔彛錛屽悗鏉ュ彂鐜版槸 lighttpd 鍗犻浜?80 绔彛
浜庢槸榪愯
sudo ps -e 鏌ョ湅浜嗗綋鏃剁殑榪涚▼
sudo kill <lighttpd鐨凱ID鍙?gt; 涓涓嬨傜劧鍚庡氨鑳借繍琛?apache
浣嗘槸浠嶆棫鏃犳硶鎵ц php 鏂囦歡錛屾垜鍦ㄧ粓绔墽琛?br>sudo php -v 鍙戣鎻愮ず閿欒璇?鏃犳硶鍔犺澆 Xcache 妯″潡鍥犱負宸茬粡鍔犲湪浜?eAccelerator 浜?br>閭d箞灝卞叧闂?xcache鍛椼傚浣曞叧闂憿錛熺畝鍗曪紒
cd /etc/php5/conf.d
縐誨姩鍒拌繖涓枃浠跺す銆傞噷闈㈠叏鏄ā鍧楃殑閰嶇疆鏂囦歡
sudo vim xcache.ini
鎶?br>zend_extension = /usr/lib/php5/20060613/xcache.so 娉ㄩ噴鎺?br>#zend_extension = /usr/lib/php5/20060613/xcache.so
鐒跺悗榪愯
php -v 涓鍒噊k浜?br>
****@****:/etc/php5/conf.d$ php -v
PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 26 2009 20:09:03)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with Xdebug v2.0.3, Copyright (c) 2002-2007, by Derick Rethans
with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH

]]>
99国内精品久久久久久久| 青青草原综合久久大伊人| 久久精品国产久精国产思思| 热re99久久6国产精品免费| 精品国产VA久久久久久久冰 | 日韩av无码久久精品免费| 亚洲国产精品成人久久| 99久久精品费精品国产一区二区| 99久久www免费人成精品| 性做久久久久久久久| 久久99精品久久久久久久不卡 | 国产亚洲欧美成人久久片| AAA级久久久精品无码区| 亚洲精品99久久久久中文字幕| 亚洲中文久久精品无码ww16| 91精品国产91久久| 麻豆一区二区99久久久久| 久久人人爽人人爽人人片AV东京热| 色欲综合久久躁天天躁蜜桃| 久久久久国产| 久久久久久久99精品免费观看| 久久强奷乱码老熟女网站| 99久久精品免费| 久久亚洲AV成人无码国产| 久久久久久曰本AV免费免费| 狠狠精品干练久久久无码中文字幕 | 国产三级观看久久| 国产午夜福利精品久久2021| 伊人久久大香线蕉综合热线| 97久久精品人妻人人搡人人玩| 欧美国产精品久久高清| 很黄很污的网站久久mimi色| 婷婷综合久久狠狠色99h| 久久99亚洲网美利坚合众国| 一本一道久久综合狠狠老| 久久久这里只有精品加勒比| 无码人妻少妇久久中文字幕| 久久亚洲国产精品123区| 无码8090精品久久一区| 欧美久久综合九色综合| 午夜精品久久影院蜜桃 |