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.78700a.com | qijidianyou.com | www.180209.com | 5099gg.com | 22338332.com | www.00829f.com | www.85857w.com | www.087938.com | www.694050.com | 55766.com | 2544.com | www.79500y.com | www.25688k.com | jsdas8.com | 655661122.com | www.v6060.com | www.hg1115.com | www.501433.com | 7720d.net | www.hg0533.com | www.7415v.com | www.79955.com | www.220892.com | 78886508.com | www.555kkk.com | www.11599009.com | 588-5.cc | www.97727.com | www.6663ylg.com | www.938906.com | 6033i.com | www.pjshandong.com | www.00778c.com | www.743633.com | 2267w.com | www.hg93499.com | www.o94600.com | www.289971.com | 4955u.com | www.pj5504.com | www.0194007.com | 65005d.com | www.jsw77.cc | www.4331d.com | 11018r.com | www.445884215.com | www.888999qipai.com | 4066x.com | www.7777ag4.com | www.98488.com | 80850ff.com | 1669v.com | www.1851116.com | www.388945.com | 8988p.com | www.cp67776.com | www.470680.com | 9560.com | www.3hg6668.com | www.314677.com | 2709d.com | www.00773q.com | 2381rrr.com | 354018.com | www.bet63y.com | JS777.la | www.698012.com | www.js18600.com | 23800.com | www.3643v.com | www.0270h.com | 22117m.com | www.81306a.com | www.933709.com | 3614l.com | www.581137.com | 1227011.com | www.am33333.com | www.35918p.com | 4995l.com | www.115203.com | www.069961.com | 2455y.com | www.12136h.com | 36404444.com | www.ra82.com | www.193161.com | www.76060e.com | www.3890q.com | swin9.com | www.834817.com | www.079776.com | www.cr1116.com | www.35155h.com | 8547oo.com | www.j80288.com | 91019h.net | www.125767.com | www.031079.com | www.b4737.com | www.c760c.com | www.dfs994.com | www.12455v.com | 905647.com | www.598012.com | r83377.com | www.h4042.com | 0088cpw.com | www.32666z.com | www.278965.com | www.55268oo.com | www.379802.com | www.00829g.com | www.485689.com | www.88yh765.com | www.586113.com | 444p1.cc | www.783526.com | www.38200d.com | www.597933.com | 5295l.com | www.qml7.com | 320007.com | www.43818q.com | 20550349.com | www.222xm.cc | www.033033c.com | www.971261.com | 927004.com | www.951816.com | www.www-hg127.com | www.cb2388.com | g35151.com | www.52303r.com | yy38648.com | www.09991.cc | 7893w40.com | www.gai50.com | www.hhh6666.com | www.472717.com | www.js60a.com | 8522cccc.com | www.1030360.com | 1705g.com | www.9822ad.com | vns8049.com | www.7886278.com | 8557j.com | www.cf9909.com | www.4938s.com | 2757m.com | www.v3065.com | js03.app | www.ra017.com | 1288bb.com | www.345529.com | www.hg21.com | 1389e.com | www.h32031.com | 4647x.com | www.80075z.com | 6868dd.cc | www.374977.com | www.mgm512.com | w5222.com | www.087s.com | www.56733h.com | 6339.com | www.7415oo.com | 54140088.com | www.775780.com | www.jing6665.com | nn500o.com | www.08588s.com | www.hg3028.com | 88119w.com | www.o69096.com | 6688214app.com | www.735898.com | www.490034.com | 40033ttt.com | www.5522b.cc | www.30406666.com | 159666d.com | www.77803q.com | www.l27229.com | pj677s.com | www.5956868.com | 7792w.com | www.wcp8898.com | www.88166e.com | w77304.com | www.376817.com | www.3396877.com | 76886m.com | www.qucw4.com | www.xam58.com | 33888016.com | www.51515l.com | www.22201.com | 01234y.com | www.820289.com | www.77605b.com | 4488aa.com | www.876488.com | www.62kjw.com | 亿客隆.com | www.288346.com | www.b33668.com | www.pj550077.com | 3421.com | www.987969.com | www.90msxfptd.com | nn500m.com | www.091069.com | www.0612i.com | www.0686222.com | 5802ll.com | www.8816n.com | www.46621.com | 4556g.com | www.536678.com | www.751cp2.com | 55899g.com | 2381ttt.com | www.676711.com | www.k88891.com | 1077.cc | www.0014u.com | www.120345.com | 3178kk.com | 188qq999.com | www.ban54.com | www.19019x.com | 80892gg.com | 4812a.com | www.443300a.com | www.z69096.com | www.ven4444.com | hg3211.org | www.976731.com | www.1429a1.com | www.hg567000.com | 00uu8332.com | 8905c.com | www.35155j.com | www.808888e.com | 9149s.com | 65005.com | www.5091v.com | www.55070i.com | www.39695i.com | 6269.com | www.196807.com | www.16065l.com | www.pj1314.com | 9068r.com | 23800u.com | www.00889.com | www.063sunbet.com | 3169u.com | 3640yy.com | www.898134.com | www.1764p.com | www.hg8052.com | 61652n.com | 75991j.com | www.223065.com | www.35918b.com | www.3116f.com | www.df5550.com | 3434nnn.com | ctxcpyh.com | 7YL7999.com | www.w984.com | www.91709.com | www.018381.com | www.323567.com | dz0666.com | 36502w.com | www.330276.com | www.68682h.com | www.dcw88.com | www.88837o.com | d2490.com | 3421w.com | 667766x.com | www.9478f.com | www.a458.com | www.ii55826.com | www.hg9396.com | rr1331.com | 1407.com | 1331n.com | www.344141.com | www.5086t.com | www.222335.com | www.00618g.com | www.487333.com | 5446kk.com | bbo626.com | bbb444000.com | 20776688.com | www.50051e.com | www.2350g.com | www.amdwc.net | www.62979y.com | www.xg536.com | www.7380pp.com | 97297k.com | aa01234.com | 566777q.com | 4880y.com | www.558401.com | www.qmfc7.com | www.39500h.com | www.59999.am | www.xpj66123.com | www.115527m.com | www.1168f.com | www.2010889.com | www.38200p.com | 3616x.com | feicai0354.com | 22ff8332.com | 3559eee.com | 137.vg | 89892tt.com | 3936m.com | www.186791.com | www.646959.com | www.99355.cc | www.00840p.com | www.81520t.com | www.954321u.com | www.1466d.com | www.bjl913.com | www.3421k.com | www.32031o.com | www.qmc0022.com | www.50000966.com | www.40998.com | www.msc751.com | www.h7733.com | www.21819q.com | www.6664136.com | www.606881.com | www.64821122.com | www.80578.com | www.807882.com | www.0686c.com | www.33a85.com | www.33354.com | www.dd13558.com | www.444510.com | www.1111gz.com | www.drf0432.com | www.p948p.com | www.4972g.com | www.04567y.com | www.4058ff.com | www.63606y.com | www.pj55714.com | www.730016.com | www.087g.com | www.60108r.com | www.9960.cc | www.904830.com | www.599210.com | www.182498.com | icesnow.com.cn | e67890.com | a3665.com | 3189qq.com | 61772222.com | 9068dd.com | 4036e.com | 99151v.com | 633248.com | www.777444q.com | www.pp8996.com | www.g9478.com | www.bwinyz49.com | www.81608q.com | www.99788b.com | www.77114y.com | www.987581.com | www.186297.com | c3144.com | 5478d.com | 68228b.com | 4195xx.com | www.8344567.com | www.pi111.com | www.50999o.com | www.55676l.com | www.33598j.com | www.599048.com | 22296qq.com | pj677s.com | fc37.com | www.68666m.com | www.3170002.com | www.6662ylg.com | www.pgylc.cc | www.cp7777b.com | 3089u.com | 70099.com | 518cp99.com | www.caipiao050.com | www.938d.cc | www.111158.com | www.lczg4.com | 2418t.com | www.16297777.com | www.870000.com | www.md006.com | 338050.com | www.b6868.com | www.1764i.com | 2277bet.com | www.76775e.com | www.330297.com | www.yh66609.com | www.68682h.com | 36405500.com | www.xpj4.net | feicai0510.com | www.44166.com | www.262771.com | www.8509850.com | www.9478r.com | hg3699.com | www.9187f.com | haocaipiao.net | www.567771.com | www.198109.com | www.xpj8818.com | www.lqc5.com | 31780000.com | www.18593.com | 56787cc.com | www.0343i.com | 3522w.cc | www.86339s.com | 59599s.com | www.4136b.com | 80368jj.com | www.hg773.com | www.093827.com | www.55268ss.com | www.580671.com | www.183ks.com | www.am6633.com | 5003tt.com | www.2350v.com | bb8888.com | www.36166w.com | 500000744.com | www.86267k.com | 2757z.com | www.26163v.com | 838388p.com | www.153280.com | 2127p.com | www.7239y.com | 666df8.com | www.077578.com | ppjj01.com | www.8582ww.com | 11tt8332.com | www.89894t.com | 2222k08.com | www.12455k.com | 0600r.cc | www.cb3288.com | www.vns998.com | www.629053.com | www.4972dd.com | www.160951.com | www.39695t.com | www.236380.com | www.49981k.com | 7196n.com | www.1111284.com | 0698.com | www.33678gg.com | 4488.cc | www.6678576.com | 8569811w.com | www.77clf.com | 9411uuu.com | www.916270.com | www.39695w.com | www.43131x.com | www.hg8319.com | qqtheme.com | www.80188e.com | b4116.com | www.89789v.com | 0241e.com | www.igcp1.com | www.4107y.com | 1654s.com | www.998948.com | 33599rr.com | www.093928.com | vns22.vip | www.687198.com | www.5626k.com | 29522dd.com | www.1754n.com | 8547pp.com | www.108.gg | www.www8181sun.com | 6220f.com | www.673888w.com | 7340111.com | www.9155h.cc | www.88807i.com | mxc55.com | www.b7764.com | hg77703.com | www.946380.com | www.387411.com | 6175kk.com | www.42456677.com | 289599.com | www.031069.com | www.356062.com | d3405.com | www.1368b.cc | www.122yh.com | 33p88.cc | www.ya2019u.com | www.cr345.net | www.186287.com | www.cai51.com | 6363ii.com | www.990733.com | www.16711.com | 30064.com | www.81520n.com | www.558809.com | 444000www.com | www.2021t.com | feicai0593.com | www.289917.com | www.4212c.com | 22299bb.com | www.602327.com | www.77731d.com | 93922l.com | www.rcw8855.com | www.jsc12315.com | 51133l.com | www.700539.com | www.n4042.com | 443636.com | www.607212.com | www.27363x.com | hh1088.com | www.501210.com | www.w32939.com | mf705.com | ky877.com | www.00772k.com | 55hh8331.com | 8547ww.com | www.js89w.vip | www.hg12358.com | 3121ww.com | www.9522888.com | www.w88w118.com | xpj677d.com | www.5086u.com | www.245899.com | 3967h.com | www.422323.com | www.ts055.com | 1624xx.com | 9068jj.com | www.388603.com | www.16076.com | 47751.com | www.818827.com | www.80.tt | 97799d.com | 4136e.com | www.68cc3.com | www.g3838.com | y73888.com | www.202374.com | www.44118s.com | www.bwin599.com | xpj764.cn | www.bxcp4.com | www.mgm512.com | 67877s.com | 500000435.com | www.3978i.com | www.021213.com | 8381m.com | 11qq8331.com | www.yun877.com | www.026555.com | bbo626.com | 0747zz.com | www.83033n.com | www.js2555.com | 35252x.com | 3435o.com | www.9205e.com | www.dzcp7777.com | 38822299.com | 156050.com | www.860705.com | www.4196u.com | www.76543z.com | jjj67890.com | 4195dd.com | www.a991qp.com | www.5055msc.com | 168cp-o.com | 563946.com | www.727076.com | www.460017.com | www.jw2299.com | nn500m.com | 97799h.com | www.c1393.com | www.45598r.com | www.58777h.com | 88851y.com | 4379.com | www.331616a.com | www.62979.com | www.hg656.com | 35xx.vip | 8722tttt.com | www.csgc3.com | www.40288u.com | www.hg0180.com | 33552229.com | b188.wang | www.211873.com | www.hg6767.com | www.000clf.com | www.xinhao4455.com | 38244p.com | hg97222.com | www.901180.com | www.bjl913.com | www.883122dd.com | www.2222wnsr.com | pj00rr.com | qhc52.com | www.585868.cc | www.0601d.com | www.98698c.com | www.4938t.com | 3121ee.com | 7720796.com | 7249c.com | www.hy5955.com | www.98488.com | www.5966zzz.com | www.22288806.com | 7508m.com | 5656hg.com | 0906vip2.com | www.qilc9.com | www.hg594.com | www.lm55.com | www.1569227.com | ff5443.com | 3242j.com | changlecai.com | www.129029.com | www.2350q.com | www.97828f.vip | www.cp98.com | www.as0003.com | www.1869v.com | 2078i.com | b1915b.com | 99151y.com | www.560905.com | www.34788r.com | www.5446bb.com | www.twcp02.com | www.83008z.com | www.777fhcp.com | m95510.com | aa116.net | 4774b.com | amhj.cc | www.687198.com | www.26299s.com | www.3775k.com | www.cn365s.com | www.2222092.com | www.2226358.com | 06064688.com | ha080.com | lc99vip.com | 28835533.com | 7196cc.com | www.529106.com | www.050.la | www.83033p.com | www.785409.com | www.4996xn.com | www.938f.cc | www.ms488.com | www.362855.com | www.aobo9.com | 3122a.com | 496rr.com | 3640.com | hg999333l.com | tt444000.com | 5443e.com | 1669y.com | www.292866.com | www.742255.com | www.11qxc.com | www.54400w.com | www.7728229.com | www.14168a.com | www.1429g2.com | www.19019s.com | www.lygxs.com | www.08400.cc | www.suncity553.com | www.345sbet.com | www.62284.com | www.xpj1144.cc | 953644.com | 914909.com | yh888j.com | 2506j.com | zuiyi118.com | 8569811y.com | 8722zzzz.com | hubo8.cc | 8801885.com | 53358h.com | sbd9.vip | g86226.com | 3568o.com | lll67890.com | lll4165.com | 3405w.com | uuu3405.com | 4955p.com | 083939.com | 3590.com | 4488d.com | 51335f.com | 35222i.com | hg886.com | qifa168.net | 6118j.com | 37570f.com | 3844rr.com | 0747n.com | lc4343g.com | 1484vip2.com | www.ylg292.com | www.4763118.com | www.3657e.com | www.7830x.com | www.g1137.com | www.48588c.com | www.89790.com | www.wd6668.com | www.77731v.com | www.bd2019c.com | www.8473l.com | www.u80288.com | www.40288j.com | www.flb477.com | www.1128229.com | www.97655s.com | www.31930.cc | www.ck3578.com | www.672166.com | www.196303.com | 4975.am | 6869822.com | 9895e.com | 678.com | 9506j.com | feicai00886.com | 20771188.com | www.hg2087.com | www.78.tt | www.81321a.com | www.tc8804.com | www.http://07771.com/ | www.4102c.com | www.00889a.com | www.022jx.cc | www.607335.com | www.53900a.com | 11112007.com | 9958999.com | hbs472.com | bb888855.com | www.398.am | www.006072.com | www.5589111.com | www.9hg6668.com | www.zzyl66.com | www.50064h.com | www.810575.com | 4116u.com | 4048ccc.com | 3559uuuu.com | 60688.cc | yin8888.tv | www.j2367.com | www.659200.com | www.38138j.com | www.6889796.com | www.1035s.com | www.375781.com | angei9gov.cn | 25250524.com | yf2777.com | www.hgttt.com | www.10601.com | www.jz95599.com | www.rrqp555.com | www.3416n.com | www.217380.com | 7552.com | mmm01234.com | xpj677l.com | www.emc7677.com | www.668cp66.com | www.7920b.com | www.3478h.cc | www.98528i.com | 35442111.com | 9339999b.com | www.hg67888.com | www.77938.com | www.55070q.com | www.bet73c.com | www.586005.com | 2687js.com | 53358.com | www.pj83333.com | www.msc353.com | www.h83377.com | www.89929.cc | www.52303i.com | 4018rr.com | 7989z.com | www.11012.app | www.bwinyz19.com | www.68568r.com | www.55djcp.com | 4288e.com | zhcpbb.com | www.mmtx789.com | www.bet63r.com | www.39500f.com | www.068637.com | 7508z.com | jsjlb99.com | www.0488.net | www.475557.com | www.985026.com | 4809w.com | 8547b.com | www.995z.net | www.9737ss.com | www.12455d.com | 82093.com | 974022.com | www.pjbet77.com | www.848434.com | www.65707y.com | www.36166e.com | 39991122.com | www.4759xx.com | www.20199rr.com | www.97655g.com | 20188d.com | uuu4165.com | www.tyc8808.com | www.9b002.com | www.15010.cc | 6hcc88.com | h2146.com | www.3a332.com | www.780780b.com | www.602471.com | 1413.com | 52688h.com | www.998855l.com | www.66653t.com | mtkhgwnn.cn | 25288o.com | www.xpj2778.com | www.333xx.cc | www.456685.com | 7893w8.com | 88894t.com | www.1108617.com | www.66073.cc | 2934com.com | 2595q.com | www.8833tm.com | www.67258c.com | feicai0475.com | 22117d.com | www.3195555.com | www.4323b.com | jxf964.com | 44yy8332.com | www.5006c.com | www.66598b.com | pj7778.com | 500000316.com | www.80388.com | www.53168.com | 2455o.com | vns66666.cc | www.16181v.com | www.890703.com | 4182q.com | www.88807x.com | www.1764a.com | www.51331a.com | d2490.com | www.4058s.com | www.9356d.com | j2976.com | www.bet888365.com | www.4196v.com | www.344242.com | bbb5657.com | www.4041.cc | www.50074g.com | 80850.com | www.4123020.com | www.xj6006.com | www.196776.com | 28288u.com | www.55526e.com | www.976927.com | www.4111511.com | www.w593.com | 15a37.net | www.9566438.com | www.21202e.com | 8838000.com | www.xh5111.com | www.11475.com | 2381www.com | dd.cc | www.v00888.com | www.018581.com | 214tc.com | www.9737ee.com | www.368477.com | h08199.com | www.cp0017.com | www.649770.com | hjcp3.com | www.w948w.com | www.739750.com | 9339999u.com | www.j4042.com | www.717885.com | dc1104.com | www.55526l.com | www.629293.com | q8q9.com | www.19019h.com | www.362803.com | 11442007.com | www.829797d.com | www.73736a.com | 3007.com | www.0622uuu.com | 7377sj.com | www.888vh.com | www.89777w.com | 74399999.com | www.b7276.com | www.66653.com | 77112007.com | www.hd779.com | www.587344.com | sha2017.com | www.478378.com | 81511d.com | www.621155c.com | www.96386g.com | hg55511.com | www.34kj.com | www.629053.com | 7779t.cc | www.38775tt.com | 5622f.com | www.09569w.com | www.5522z.cc | 67890ll.com | www.19019y.com | 10050537.com | www.m.kb88.com | www.86267d.com | 77112007.com | www.79500u.com | www.33997o.com | www.pj550088.com | www.725602.com | 99698q.com | www.qmc0055.com | www.032823.com | www.0555hg.com | www.29277hh.com | 1458s.com | www.qq55826.com | 16690033.com | www.7025b.com | www.du126.com | hd89v.com | www.99552ii.com | 9694y.com | www.456131.com | www.356036.com | 22296zdl.com | www.96386h.com | 4167w.com | www.8800ra8.com | 9679a.com | www.40344.com | www.493552.com | www.1869a.com | www.61655l.com | d1915d.com | www.519345.com | 33599tt.com | www.www-50007000.com | www.001059.com | www.300t.com | www.hx2088.com | 3379c.com | www.85144aa.com | h88803.com | www.115527t.com | 81005.com | www.370193.com | 80579g.com | www.158msc.com | www.196209.com | www.hg33733.com | www.937299.com | amjsc05.com | www.55228c.com | 3452015.com | www.fh6619.com | y21148.com | www.7036c.com | 55797w.com | www.bwinyz05.com | 452922.com | www.5049n.com | a4255.com | www.addbl.com | y1429.com | www.295555.com | yy5443.com | www.8349.com |