AutoCAD 3DMAX C語言 Pro/E UG JAVA編程 PHP編程 Maya動畫 Matlab應用 Android
Photoshop Word Excel flash VB編程 VC編程 Coreldraw SolidWorks A Designer Unity3D
 首頁 > Linux

每個極客都應該知道的一些Linux技巧

51自學網 http://www.0532cf.com
是什么區分開普通的Linux用戶和超級極客的呢?很簡單:用在學習那些使長時工作轉變為一瞬間工作的技巧、訣竅、秘訣和技術上的時間。如果你想提高效率而又不用做這些搜集資料的跑腿活兒,那我們已經收集了50多條簡單易學的Linux技巧,以幫助你更瀟灑地工作,并且最大限度的利用你的電腦。開始享受吧!

1:檢查不是由你運行的程序
難度:高級
應用程序:bash(譯注:UNIX或者LINUX的shell)
想象下這個場景-你已經準備好了要和同事在辦公室里對戰一局快速的Crack Attack(譯注:一款免費的OpenGL游戲,類似俄羅斯方塊),不料卻發現,當你正準備要擊敗你這個傲慢的下屬時,方塊卻停止了-是什么讓你的機器變得這么慢?這肯定是因為其他的用戶運用他們嫻熟的經驗來盜取你寶貴的CPU時間、服務器或者其他的詭異方式,真煩人!
好,讓我們列舉出系統中所有不是由你運行的程序!
1
psaux |grep-v`whoami`
或者,更巧妙些的是,為什么不列出最占用時間的前十個程序呢:
1
psaux--sort=-%cpu |grep-m 11 -v`whoami`
也許最好使用root權限來運行這條指令,因為這樣可以過濾出大部分活躍的后臺程序。現在你有了這些信息,你可以終止他們的進程,但是更“卑鄙”的是反復地在他們的桌面上運行xeyes(譯注:Linux下的一條好玩的命令)!

2:在多個文件中替換掉相同的文本
難度:中等
應用程序:find(譯注:Linux下的一條命令)/Perl
如果你有個文件,想在多個位置進行替換,這里有很多方法來實現。調用test[someting]把當前目錄里所有文件中的Windows替換成Linux,你可以像這樣運行它:
1
perl -i -pe's/Windows/Linux/;'test*
要替換當前目錄以及下層目錄里所有文件中的Windows為Linux,你可以這樣運行:
1
find. -name'*.txt'-print |xargsperl -pi -e's/Windows/Linux/ig'*.txt
或者如果你更需要讓它只作用于普通文件上:
1
find-typef -name'*.txt'-print0 |xargs--null perl -pi -e's/Windows/Linux/'
節省了大量的時間并且獲得了高水平的大師等級!

3:合并一個不穩定的終端
難度:簡單
應用程序:bash
我們都已經做過這件事了-偶爾使用less或者cat來列出一個文件,或者以瀏覽二進制文件而結束,這通常包含各種可以輕易弄亂你的終端顯示的控制代碼、警報聲、一些有趣的字符,以及一些奇怪的顏色組合,最后,你的字體將會被一些難以辨認的字符所替代,而你卻不知道該怎么辦。顯然bash仍然繼續工作著,但是你就是不能明白到底發生了什么!發送一個初始化命令給這個終端:
1
reset
然后一切就再次恢復正常了。

4:創造Mozilla關鍵詞
難度:簡單
應用程序:Firefox/Mozilla
在瀏覽器上的一個有用的特征是,它們有一種能力,可以通過輸入gg onion來通過Google搜索onion這個詞的一切。同一功能在Mozilla上也可實現,通過單擊Bookmarks(書簽)>Manage Bookmarks(管理書簽)然后添加一個新的書簽,添加的URL就像這樣:
1
http://www.google.com/search?q=%s
現在選擇書簽編輯器中的條目并且點擊Properties(屬性)按鈕,現在輸入一個類似gg的關鍵字(或者可以是你選擇的任何字符)就行了。在URL中的%s將被關鍵字之后的文本內容替代。你可以用這種方法向其他一些依賴你當前URL信息的網站發送請求。
或者,右擊一個搜索區域然后選擇菜單選項“為這個搜索添加一個關鍵詞…”。接下來的會話將允許你使用一個指定的關鍵詞。

 
上一篇:inc文件使用的風險和注意事項  下一篇:學習shell腳本之前的基礎知識
彩客网 www.5856863.com | www.9464002.com | 53262ww.com | www.hg77033.com | 7141rr.com | www.2934u.com | www.ylg238.com | www.582993.com | www.lgf08.com | 55665156.com | www.38138p.com | 5360pp.com | www.pj56i.com | 5804j.com | www.606930.com | www.hg99953.com | o08199.com | www.07679y.com | 4138004.com | www.918356.com | www.2078k.com | 88052.vip | www.7920e.com | 28758x.com | www.550264.com | www.990654.com | 2008.com | www.07500w.com | www.58777y.com | 12772255.com | www.8zz66.com | www.jsw99.cc | 13976.com | www.52062i.com | 2848bbb.com | www.101125.com | www.31148.com | 41188855.com | www.737298.com | www.am1155.com | 99345.com | www.9356p.com | www.7111w.com | 1479x.com | www.7434b.com | www.4625k.com | 01234zzz.com | www.bet73f.com | www.4107i.com | 3327.com | www.pj56j.com | www.7830q.com | 1389g.com | www.68689f.com | www.c32126.cc | 918dp.com | www.sb4010.com | 00778p.com | 61652h.com | www.773bbb.com | www.4123vv.com | 3016vvv.com | www.yh08118.com | www.js72999.com | 444365ggg.com | www.7920p.com | www.4123uu.com | d3410.com | www.hg27288.com | www.9996mm.com | 99909q.com | www.022b.cc | www.44679.com | 87965nn.com | www.295126.com | www.7893w33.com | 67888.am | 78116644.com | www.77114g.com | www.23373333.com | 3640ii.com | www.493326.com | www.4996jx.com | 51335u.com | 7141xx.com | www.sdsy.com | www.8000tt.com | z99345.am | www.50026v.com | www.4809y.com | www.333133n.com | lehu558.com | www.c6449.com | www.x99pj.com | www.68666o.com | 9484H.com | www.8jcw.com | www.hgdc800.com | www.vns7730.com | 4997y.com | www.690104.com | www.35252i.com | www.hj0888.com | rf036.com | www.909965.com | www.7893w32.com | www.twcp999.com | eee5701.com | www.235187.com | www.984702.com | www.79595.com | 11005s.com | o2306.com | www.333hy.cc | www.35700a.com | www.00618k.com | 3522s.cc | 20774466.com | www.756997.com | www.792073.com | www.00618l.com | 8037bb.com | 98955y.com | www.66332c.com | www.rgcp555.com | www.7171sun.com | ddj138.com | www.022193.com | www.80767r.com | www.497875.com | www.hg7748.com | 5627.com | h99345.am | www.977389.com | www.661326.com | www.hg7788.in | www.dfs788.com | 3726x.com | ooo444000.com | www.5095n.com | www.1851139.com | www.0000033.com | 0088buyu.com | 26119f.com | 02489.com | www.912453.com | www.3691c.com | www.rb05.com | www.yh1144.com | wnsr8827.com | nn500p.com | 789.com | www.ck5568.com | www.778306.com | www.2302325.com | www.2090900.com | 7720741.com | 88772105.com | 27878pp.com | www.542672.com | www.61233j.com | www.4058yy.com | www.hg7321.com | www.4123nn.com | yz5488.com | dxcp7.com | 668cp00.com | www.769639.com | www.3080.com | www.xpj916.com | www.239.com | www.hg0198.com | js345.com | xpj6620.com | 17765.com | 48139.com | www.515233.com | www.98528e.com | www.6688kcd.com | www.ggu.99233u.com | www.y5777.com | www.936699.com | pp5443.com | 00882007.com | dzj002.com | 86688006.com | js14x.com | www.50064a.com | www.760169.com | www.34788b.com | www.68993259.com | www.0088hgaa.com | www.87708e.com | www.29msxfptc.com | www.ibm888.net | www.00829e.com | www.56733w.com | 3080.com | 17998.cc | hwcp.com | d5429.com | 8880168.com | 0332k.com | 9649d.com | 56988h.com | 8381w.com | www.178387.com | www.766076.com | www.hy5501.com | www.9356t.com | www.50788b.com | www.706wb.com | www.8866kcd.com | www.45598e.com | www.969709.com | www.4694r.com | www.5966ggg.com | www.744743.com | www.t2005.net | www.am5599.com | www.79890m.com | www.s783.com | www.29886q.com | www.lfg777.com | www.912399.com | www.3aobo.com | 54443g.com | 1654ww.com | 3mya.com | www.sbd444.net | www.68666o.com | www.hg175.com | www.98723.com | www.kim111.com | www.pj5908.com | www.js80288.com | www.boma0190.com | www.0860o.com | www.www-16387.com | www.546suncity.com | www.vip7311.com | www.5254y.com | www.678130.com | www.888dsy.com | www.p4042.com | www.33115rr.com | www.c555.cc | www.3157g.com | www.55060z.com | www.ag0456.com | www.805sun.com | www.777999qipai.com | www.89777t.com | www.00665a.com | www.34207.com | www.903839.com | www.376369.com | 188711.com | t32689.net | ttt5701.com | 1213uuu.com | 9068i.com | 7508t.com | 23233b.com | www.7893w46.com | www.4719cc.com | www.789q.com | www.4996hb.com | www.4520066.com | www.51331m.com | www.csgc6.com | www.472255.com | 2127dd.com | 159666s.com | 66006.com | js004.com | www.sbd444.net | www.0096ii.com | www.984365.com | www.4996hl.com | www.4809h.com | www.31744.com | www.526071.com | 51335z.com | pj88ww.com | 2225309.com | 9439911.com | www.8808000.com | www.v56789.com | www.f063801.com | www.6653.com | www.351867.com | 20775511.com | 35222tt.com | 44488q.com | www.31319193.com | www.l9478.com | www.285628.com | www.32123g.com | www.587502.com | 7141dd.com | 00778t.com | 2015.com | www.998msc.com | www.xy3550.com | www.78919g.com | www.ya088.com | www.33997a.com | dd4255.com | 9958977.com | www.2222558.com | www.79500q.com | www.37377i.com | www.911888.com | 1331cc.com | pj00ee.com | www.mgm8699.com | www.vs88.com | www.209337.com | www.904829.com | 7508x.com | 3435s.com | www.18xinli.cc | www.xj666q.com | www.v0066.tv | www.452805.com | 59599l.com | 2649l.com | www.g1207.com | www.3066bb.com | www.5522g.cc | 87680g.com | 294650.com | www.56520k.com | www.8473z.com | www.50051vip.com | 6641qq.com | b72227.com | www.vylc6.com | www.2021a.com | www.sygj9.com | 2997701.com | df8b.com | www.hg5003.com | www.7681001.com | www.480840.com | 5858394.com | www.6033r.com | www.56655p.com | www.66652m.com | amxj365.com | 98955f.com | www.vn95500.com | www.3775k.com | www.393121.com | 3678yy.com | www.bet365de.com | www.704903.com | www.709337.com | 1705g.com | www.h990.com | www.3846cc.com | www.381772.com | uedhot8844.com | www.yinhecc99.com | www.o7793.com | www.9149k.com | ttt4165.com | 11162018.com | www.89677s.com | www.776873.com | 4694g.com | www.39695h.com | www.535086.com | www.214656.com | dd8159.cc | www.741199a.com | www.84499q.com | 5168dd.cc | 97297s.com | www.cn365x.com | www.595813.com | 2324qqq.com | www.k1876.com | www.77801j.com | 18891.com | www.wn8090.com | www.pjc77.vip | www.99677v.com | 8685050.com | www.dafabetedfa95.com | www.107ak.com | 85698s.com | www.wxr11.com | www.0601z.com | 30006r.com | www.y611.com | www.c63568.com | 11170011.com | 5509e.com | www.535086.com | uc04.cc | 2851r.com | www.4996xz.com | www.202417.com | 28839f.com | www.99c51.com | www.775714.com | 3788f.com | www.aobo9999.com | www.820289.com | 7726vvv.com | www.77731u.com | www.594883.com | jk080.com | www.7415uu.com | www.178532.com | 2267i.com | www.06387711.com | hv712.com | www.93456.com | www.16065i.com | xpjgo7.com | www.hg2367.com | www.371q.cc | 4488pp.com | www.808888q.com | www.324277.com | 500000888.com | www.hg33396.com | 40168.com | www.333133t.com | www.13633.cc | 4152e.com | www.16181t.com | flp666.com | www.yh8888.cc | www.La166518.com | ooo0022.com | www.2492.cc | www.393830.com | js90055.com | www.9192666.com | 8036ocom | www.r948r.com | www.137103.com | www.8520s.com | www.1432.com | 36796.com | www.5446mm.com | feicai0953.com | www.g4737.com | www.dan03.com | 33ss8332.com | www.123456.cc | hg999333h.com | www.kwsy555.com | www.168323.com | www.ag6051.com | www.64040.com | 22zz8332.com | www.xjs733.com | 1188xpj.com | www.agcpw.com | 33382k.com | www.080948.com | www.655903.com | long677.com | www.08588z.com | 70118y.com | www.pj9030.com | jidu03.com | www.695014.com | 2842266.com | www.whmydsc.com | 52599j.com | www.d45638.com | www.520691.com | www.5555wns.com | www.zcwf2.com | 99993885.com | www.2875y.com | a2306.com | www.bi16.com | qifa168.net | www.68993237.com | 9068j.com | www.0072721.com | k60111.com | www.07679t.com | 0669.com | www.9464005.com | 8015f.com | www.2544g5.com | 9993657.com | www.209752.com | 08530009.com | www.88325k.com | 4116p.com | www.e2894.com | 99973.com | www.80868.com | xinvip7.com | www.3678.com | 4633377.com | www.hd8676.com | 2334vip4.com | www.00840o.com | 3434mmm.com | www.5095d.com | 535.cc | www.907556.com | www.3337hg.com | www.338995.com | www.882618.com | 5853d.com | www.42423499.com | 700089v.com | www.848777u.com | 4774466.com | www.63800c.com | 61321122.com | www.ttcp88.co | xpj677i.com | www.911888.com | www.365815v.com | www.66376u.com | www.810msc.com | 00888448.com | www.5517ccc.com | pp3405.com | www.77114k.com | 5369h.com | www.544646.com | www.3170002.com | kcai111.com | www.cn365r.com | ll40033.com | www.68cc.com | 5509n.com | www.330687.com | www.4646111.com | 45460001.com | www.3678.com | zhcp08.com | www.803875.com | www.36389k.com | 9566498.com | www.33678ff.com | 98955s.com | www.c1350.com | www.777cm1.com | 353458.com | www.588870.com | 7720x.net | www.590777a.com | www.hg0728.com | 61789l.com | www.xpj815.com | 87665h.com | www.377183.com | www.49yj.com | 9068e.com | www.50051vip.com | www.362855.com | 2004871.com | www.509261.com | 4997q.com | www.394511.com | www.u4042.com | 566777v.com | www.2109z.com | www.pj21399.com | 88119n.com | www.984008.com | www.6033k.com | 11989v.com | www.4196z.com | 168c3.com | www.355294.com | www.1168o.com | mgm20.vip | www.611949.com | www.o9478.com | 2324nnn.com | www.819847.com | www.838080.com | 3679aa.com | www.959209.com | www.591999.com | 92266i.com | www.flff0.com | www.683012.com | 3568q.com | www.c602.cc | www.9999xx.com | 7555r.com | www.910155.com | www.97cp789.com | 9309208.com | www.374877.com | www.71071h.com | 2709v.com | 1591.com | www.665888.com | www.7435h.com | 89892tt.com | www.81233q.com | www.710868.com | 0245j.com | www.870933.com | www.288988c.com | 99111dd.com | ll2205.com | www.55717m.com | www.21365vv.com | tz1666.com | www.fcff7.com | www.919205.com | 6245j.com | 2127mm.com | www.7714u.com | www.11447712.com | hbs469.com | www.198109.com | www.62979b.com | www.vns388.com | 8668yh.com | www.hf5887.com | www.005700.com | 56988y.vip | xh99.pw | www.7777ho.com | www.410488.com | 0747mm.com | 9498.us | www.16878f.com | www.o9993122.com | 923930.com | 1259x.com | www.2373i.com | www.79500g.com | bet3659092.com | bet36510000.com | www.hm2299.com | www.7334f.com | www.yh1088.com | 51133h.com | www.626310.com | www.ag3377.com | www.21365dd.com | 5219o.com | 8449ww.com | www.vip88.so | www.lefa3333.com | xpj70069.com | 721023.com | www.506273.com | www.8577.com | www.0153.com | a2306.com | 86811v.com | www.934277.com | www.458633.com | www.pj2016.com | 8569811h.com | 25800.com | www.77ttz.com | www.cn365t.com | www.00829k.com | chinapsp.cn | 6137c.com | www.38y.com | www.9895i.com | www.hg2808kk.com | feicai0518.com | 77009193.com | www.315019.com | www.xj445566.com | www.629820.com | www.wnsr808.com | rr1915.com | 55ll8331.com | www.845040.com | www.qiji222.com | www.h8822.com | www.56733j.com | 8159ee.cc | yin2222.com | www.c166.vip | www.p94600.com | www.j0055.com | www.8816ks.com | t1915t.com | 749102.com | www.332907.com | www.68689r.com | www.l69096.com | www.929777.com | 272ww.net | 4289n.com | 4123001.com | www.535121.com | www.86267f.com | www.b35dd.com | www.82508b.com | 1434y.com | d1915.com | 33432y.com | www.179223.com | www.7782c.com | www.535081.com | www.365279c.com | www.9068jj.com | 6769.cc | 4018k.com | 7811c.com | www.234276.com | www.2408e.com | www.122662.com | www.91500999.com | www.223228.com | www.033033x.com | 09780.com | 30170022.com | 8520.com | 4379i.com | www.677397.com | www.43818r.com | www.52062f.com | www.19019u.com | www.kk685.com | www.xpj3368.com | 3007.com | zz38648.com | 0241s.com | 91019c.net | www.96386e.com | www.850533.com | www.35155d.com | www.99094w.com | www.88vn777.com | www.49yj.com | www.am1818.cc | www.hg358.com | 937012.com | 168cp-z.com | 4556d.com | 56787zz.com | 3679qq.com | 500000531.com | 5589f.com | www.197093.com | www.805681.com | www.1444ac.com | www.39500hh.com | www.hr1866.com | www.06820d.com | www.jj9991.com | www.5457.com | www.kj853.com | www.hg7033.cc | www.77537r.com | www.288kb.net | 55betbet365.com | 1077aaa.com | 4809n.com | q62365.com | 01234vvv.com | 55717dd.com | pu0012.com | 365ms.net | 9645uu.com | 8159nn.cc | 33115zz.com | 50024466.com | 7945jj.com | 5360qq.com | 44992007.com | 6594ff.com | 38sb.com | 2224661.com | www.50732i.com | www.136031.com | www.196702.com | www.351957.com | www.387708.com | www.581237.com | www.677397.com | www.709812.com | www.luck887.com | www.653182.com | www.649770.com | www.626507.com | www.544559.com | www.526031.com | www.352477.com | www.226105.com | www.032823.com | 32424x.com | 015015.com | hh76669.com | 8577k.cc | 98345y.com | 52688p.com | 500000394.com | 8797.com | 4018c.com | 655661133.com | 61324433.com | 115506.com | www.0686999.com | www.xpj9199.com | www.sb5202.com | www.6606979.com | www.438686.com | www.v4042.com | www.4694l.com | www.4521j.com | www.55676j.com | www.794478.com | www.08588j.com | www.c4527.com | www.602470.com | www.117809.com | 69449955.com | 2851t.com | 7720s.net | 4590oo.com | 2767o.com | www.hg3442.com | www.g30226.com | www.49799.com | www.k456x.com | www.9570115.com | www.165422.com | www.66332w.com | www.hjin4.com | www.0586777.com | 3936w.com | 8522kkkk.com | 77605d.com | 56787xx.com | jixiang14.com | www.7830z.com | www.10852b.com | 5446ww.com | www.210255.com | hh76669.com | 33567w.com | 40033zzz.com | 883399h.com | www.20x0048.com | www.111153.com | www.pj88v.com | www.3775e.com | www.23834.com | www.572539.com | amblr87570.com | 3405j.com | pjzxyL.cc | 5099ee.com | www.aomen8866.com | www.w4042.com | www.eee2848.com | www.53900r.com | www.588229.com | 4js345.com | 91019b.com | 588nnn.cc | www.0860u.com | www.i456x.com | www.rrqp333.com | www.361gc.com | www.50054a.com | 1479i.com | 9694q.com | www.20.tt | www.n4042.com | www.9187k.com | www.371x.cc | 39830f.com | 3726s.com | hd6766.com | www.88807u.com | www.ssc33.com | www.660066.vip | www.842223.com | 9694u.com | 4022x.com | www.4759tt.com | www.732156.com | www.1831222.com | www.ascp3.com | 3122h.com | 4167a.com | www.8124r.com | www.zte777.com | www.ykylc01.com | www.607992.com | feicai0530.com | 473042.com | www.tyc600.com | www.55070u.com | www.34788c.com | 97987-5.com | 86226j.com | www.spj00.net | www.77731.com | www.7714c.com | www.178293.com | wfcp.com | 356.com | www.www-85594.com | www.x888789.com | www.607315.com | bb1331.com | 7779y.cc | www.000xy8.com | www.hg785.com | www.205880.com | 80567g.com | www.68666a.com | www.85857f.com | www.78949y.com | 5001v.com | 4465.cc | www.a4568.com | www.n3410.com | www.862366.com | huangma21.com | vip67778.com | www.5966jjj.com | www.66332g.com | 54141166.com | 5564.com | www.hg7644.com | www.ylylc00.com | www.81520v.com | 3788d.com | www.7036ee.com | www.999qipai.com | www.139733.com | 3522w.cc | www.xh7738.com | www.815818.com | www.391110.com | hwcp2222.com | www.3459z.com | www.js89s.vip | www.343552.com | 4036yy.com | www.88837v.com | www.g94600.com | www.097918.com | yabo1188.com | www.566115.com | www.305155.com | 33567e.com | 15920000.com | www.20199kk.com | www.2373u.com | 1654v.com | www.888167.com | www.a12189.com | www.391411.com | 57157q.com | www.hg8041.com | www.66653l.com | 3614s.com | www.88517888.cc | www.g80288.com | www.550346.com | hjcp114.com | www.35849.com | www.50026q.com | lhc907.com | www.k32126.cc | www.0612g.com | 7196t.com | zhcp76.com | www.8313z.com | www.558429.com | 36408888.com | www.9068nn.com | www.022ah.cc | 2459c.com | www.hg5123.pw | www.80065n.com | 65005i.com | www.4107o.com | www.js18682.com | 4346.com | www.ven0000.com | www.p63568.com | 4js345.com | www.long8308.com | www.63800d.com | 9411xxx.com | www.0686777.com | www.42070011.com | 5004nn.com | www.7168803.com | www.4809c.com | d91019.com | www.4763111.com | www.5958199.com | 9420v.com | www.0679555.com | www.0601k.com | 5156.com | www.hg06661.com | www.29277x.com | ll00558.com | www.49581.com | www.978231.com | 1489a.com | www.38345j.com | www.234972.com | 888p1.cc | www.535901.com | 88021.com | www.hg8662.com | www.71233d.com | 80892q.com | www.842211.com | www.845040.com | ca9033.com | www.u80288.com | 55p1.cc | www.hg2087.com | www.61233f.com | 394.ag | www.58665p.com | www.186791.com | 4195ww.com | www.72890.com | 2595o.com | www.soxi588.com | www.rcw8866.com | yh888h.com | www.110589.com | 28824v.com | www.776777.com | www.599049.com | 5168555.cc | www.772875.com | 158108.com | www.pj928.com | www.137165.com | www.sjg900.com | www.87668m.com | 3568z.com | www.5099kk.com | ee3189.com | www.g0041.com | www.ch8567.com | 77077a.com | www.325860.com | 972t.com | www.t948t.com | bj6666.com | www.e27229.com | www.lczg8.com | a444000.com | www.7240r.com | 15a18.net | www.677256.com | 272ff.net | www.138ppp.com | www.612210.com | 1213ttt.com | www.66652c.com | 7599l.com | www.38775tt.com | 013373.com | www.4568999.com | 0747aa.com | www.hg481.com | woaidrf.com |