1:HOST的乐趣: Host能够用来查询域名,然而它可以得到更多的信息。host -t mx linux.com可以查询出Linux.com的MX记录,以及处理Mail的Host的名字。Host -l linux.com会返回所有注册在linux.com下的域名。host -a linux.com则会显示这个主机的所有域名信息。
2:找到命令需要的文件,也许你希望搞清楚一个命令它到底使用到了什么其他相关文件和命令?试试ldd就可以了。如ldd traceroute,返回结果会是libc.so.6,lid-linux.so.2
3:定时!定时!你希望定时处理吗?你肯定希望能够让你轻松一些!crontab可以听候您的指示。命令行中输入:crontab -e这进入文本编辑器,再在其中输入0 5 * * * wget -t3 -I/home/tom/URLs -N。这样每天早上5点就会运行这个wget命令。前五个是时间参数:分 时 日 月 星期几。你可以 0 5 * * 6,0 command line here,这样就在每个星期六和星期天5am运行。你需要man 5 crontab来得到更为详细的解释。随便说一下,wget是一个取web页面的小程序。 console顶部显示现在时间:在/etc/bashrc或~/.bashrc中加入环境变量PROMPT_COMMAND。export PROMPT_COMMAND=echo -ne "33733[2;999r33[1;1H33[00;44m33[K"`date`"33[00m338"
4:使用多达23个的虚拟终端(VT),假设你现在有6个,仿照/etc/inittab种的文件,加入
8:234:respawn:/sbin/getty 38400 tty8
24:234:respawn:/sbin/getty 38400 tty24
要跳过VT7,因为X使用这个终端。然后telinit q以重新加载配置文件。使用左Alt+Fn在1-6和8-12件切换,使用右Alt+Fn键在13-24之间切换。
5:Console切换:左Alt-方向键,循环切换console。效果和Alt+Fn一样。
6:简单的进行Dos转Unix:如果你的文本文件中每行结尾都有讨厌的Ctrl-M的话,使用这句命令能够快速的解决问题 sed s/^M// filename > newfilename
7:快速建立MP3播放列表:find /mnt/cdrom -name *.mp3 -print >> cd1.play.list.这样就会把CDRom中的所有MP3文件建立一个名为cd1.play.list的文件。然后使用xmms 或 x11amp就能进行播放了。
8:/proc中的重要信息
cat /proc/cpuinfo - CPU (i.e. vendor, Mhz, flags like mmx)
cat /proc/interrupts - 中断
cat /proc/ioports - 设备IO端口
cat /proc/meminfo - 内存信息(i.e. mem used, free, swap size)
cat /proc/partitions - 所有设备的所有分区
cat /proc/pci - PCI设备的信息
cat /proc/swaps - 所有Swap分区的信息
cat /proc/version - Linux的版本号
9:真正的Console界面:说实话无论是KDE和GNome我都没什么喜欢的,毕竟受Windows熏陶了这么长时间了。但是在Console下其实才是真正的Cool界面。使用SVGATextMode可以让你的命令行界面达到132x60(标准是80x25)。我的486(Trident9440)上使用的是132x43,那密密麻麻的字符真象Hollywood的几年前的电影(现在连电影里都是Windows了)给人感觉神秘兮兮的。配置文件在/etc/TextConfig中,不过如果你的XWindow都无法正常显示的话,那估计这也用不了了(毕竟是好几年前的东西了)。
10:让你的硬盘飞起来: Linux下也可以使用32Bit I/O和DMA。使用/sbin/hdparm -c1 /dev/hda(hdb,hdc..)打开32Bit传输模式,使用命令 /sbin/hdparm -d1 /dev/hda(hdb,hdc...) 打开DMA。最后使用/sbin/hdparm -k1 /dev/hda 以使硬盘在Reset之后保持上面的设定,这么一来,硬盘读写速度应该可以提高一倍以上。
11:微调你的Ext2: Linux下的命令tune2fs可以设定最大Mount次数(因为Linux即时在mounted clean状况下,达到一定的mount次数后,会强制e2fsck对于我这样的每天开关机的来说很不方便),tune2fs命令的其他用途请参见man。
12:禁止在Netscape中显示闪烁(Blink)Tag: ~/.Xdefaults中修改 Netscape*blinkingEnabled: False 之后运行 xrdb -Load ~/.Xdefaults
13:随时改变XTerm的字体大小:shift加+/-
14:Ext2的文件属性: lsattr列出属性,chattr可以改变属性。如 chattr +A filename 则系统不会修改其last access time属性;chattr +i 则可以避免被rm掉。
15:SIS6326显卡的配置:在Device中加入:DacSpeed 110 Option "no_bitblt" Option "sw_cursor"
16:使用strings可以把字符串从Binary文件中分离出来
17:你大概已经习惯了使用Top来观察系统使用情况,那就使一使使用Vmstat 1来看看cpu的空闲程度(显示结果的最后一项)。
18:使用Watch命令,反复执行特定命令,如"watch ls -l /tmp/blah",将一直观察文件的大小改变。
19:使用pppstats得到ppp连接的数据。
20:显示远程机器的NFS: showmount -e hostname
21:使用autofs免去你每次mount和umount之苦,再RedHat6.0中带了autofs的rpm,只要安装好之后便可以享受自动加载文件系统的方便。 在/misc目录下,创建一个cd目录,如果使用其自带的auto.misc和auto.master的话,马上就可以实现自动加载功能了。
22:在Bash Shell中,可以用!重复上几次输入过的命令,这样就可以省去往上滚动的麻烦了。使用ctl+R可以互动的检索以前使用过的命令行。
23:使用cd -在上两个cd /directory/操作中切换。如先是cd /home/foo接着是 cd /home/maison则接着打cd - 会进入 /home/foo再打cd - 会进入 /home/maison。
24:Bash中的快捷键:ESCAPE-B 会向前条一个单词,Ctrl-K会删除从光标到行末所有字符。
25:在PS命令中使用grep,例:ps auxw | grep gpm 会列出所有含有gpm字符的进程。
26:在同一个命令行上同时执行多条命令:用分号分隔。如编译一个源文件:type ./configure ; make ; make install 。之后你就可以去散步了(不要在电脑前花费了太多时间了,生活中还有很多美好的东西。)
27:把运行结果输出到一个文件中,如 ls -l > foo.file。
28:使用Top命令监视系统状况,内存使用情况,开机时间,进程状况,每个用户的使用情况等等。使用S命令可以改变其刷新的时间:如.5将会使其每半秒钟更新一次。
29:同时Unzip多个文件,unzip *不正确,而是unzip "*"。
30:建立符号连结,这大概是最有用的功能了,ln -s real-file symbolic-file,无论是设备,文档还是脚本程序。
31:改变显示的单位,如du -hm 将以M为单位输出结果,同样的du -hk则以K为单位输出。
32:自动Logoff,在~/.bashrc中加入这么一句话:TMOUT=300则会在5分钟之后logoff,不过如果less这类程序运行则不会启动。
33:在使用less 或 more时,直接启动编辑器:在less中打入v键,会立即启动vi或其他你在环境变量中指明的编辑器,但是more只能使用vi。


84.123.138.* 于 2007-06-09 01:25:18发表:
d111dfac4fff907dfcbc82c00e398793 http://massimiliano-rosolino-e-roberta-capua.qjgasd.org/ http://foto-uomo-gay-21-anno.lbpwqo.org/ http://agenzia-internazionale-per-l-energia.iumzde.org/ http://opera-pittore-giorgio-de-chirico.pauhzy.org/ http://architetti-d-interni-a-verona.hwqegr.org/ http://casa-arredo-presti-sicilia-ag.qjgasd.org/ http://concorso-ospedale-san-filippo-nero.hwqegr.org/ http://ufficio-delle-entrata-imposta-di-registro.lbpwqo.org/ http://oggi-che-abbiamo-armi-di-distruzione.mbxbva.org/ http://troia-nana-succhiano-gransex-cazzo.akermn.org/ e44c2d91c99facb894d3b26e91151560
62.57.60.* 于 2007-06-08 03:16:21发表:
1b8836e5259d4cb7068671a74b17ea19 http://download-gratis-gioco-nokia-n70.bzeitz.org/ http://casa-vendita-lido-ferraresi-it.tpfcwv.org/ http://rivalutazione-5-pertinenze-c-2.sjfnnx.org/ http://holiday-house-campora-san-giovanni.lykglu.org/ http://sistema-gestione-sicurezza-ohsas-18001.ivrfxb.org/ http://tabella-tariffa-d-estimo-reddito-agrario.rpddkk.org/ http://tabella-aliquota-ici-anno-2001.incgek.org/ http://giulia-gallina-90-spaces-live.ulhxdx.org/ http://taglio-capello-gratis-corso-video.incgek.org/ http://convertire-dvx-dvd-nero-vision.fjhozm.org/ 2e2f8656ca7971267ae7180fc612fe21
201.243.239.* 于 2007-06-07 05:57:31发表:
51da03c17cd6d9818505641de156e8ea http://foto-di-donna-in-minigonna.ytqkdb.info/ http://graduatoria-servizio-civile-nazionale-alcamo.vrnzgy.info/ http://codice-sblocco-motorola-3-e1000.dpydtd.info/ http://agenzia-matrimoniale-viaggio-europa-est.alflim.info/ http://codice-seriale-medieval-2-total-war.odkgrg.info/ http://foto-gratis-figa-molto-sexy.lgrhpd.info/ http://fistola-artero-venosa-linea-guida.ytqkdb.info/ http://quanta-strada-neo-sandalo-libro.hwqovr.info/ http://ordine-degli-ingegneri-di-bari.ytqkdb.info/ http://locandina-colore-dell-anima-modigliani.ciymwb.info/ 6dea66dd0952ca77d762129bda0df247
190.73.149.* 于 2007-06-06 08:56:24发表:
61447b356162a2e641acd6028e07f804 http://sentenza-tribunale-genova-23-05-2006.duajwe.info/ http://vestito-the-sims-2-gratis.duajwe.info/ http://luca-antonini-master-diritto-lavoro.qwoucn.info/ http://foto-di-gambe-di-donna.qwoucn.info/ http://compatibilita-assegno-ricerca-supplenza-temporanea.yyunae.info/ http://manutenzione-nastro-trasportatore-catena-raschiante.yyunae.info/ http://hotel-san-marco-a-sestola.jknrtq.info/ http://scuola-di-lingue-a-milano.qirjux.info/ http://cerca-foto-ospedale-borgo-trento-verona.yyunae.info/ http://noleggio-macchina-per-zucchero-filato.jknrtq.info/ 11bac96dbb32ab2fd1a6f4018c996a56
213.60.153.* 于 2007-06-05 14:06:57发表:
5b8f111fb0c68fcb541ec4ef826bc477 http://castello-dentice-di-frasso.wkermn.info/ http://video-bob-sincler-rock-this-party.dvtuzm.info/ http://differenza-lipoma-ernia.kbucdn.info/ http://piantina-stadio-marassi.fwpjkf.info/ http://fattoria-felsina-poggiali.fwpjkf.info/ http://grafico-metastock-palmare.boixkk.info/ http://erboristeria-auxilium.dvtuzm.info/ http://augurale-frase-inaugurazioni.boixkk.info/ http://shock-cardiogeno-infermiera.boixkk.info/ http://malte-fibrorinforzate-prezzo.fwpjkf.info/ 4080af707aca2bbb96231fb1b4743d28
190.48.26.* 于 2007-06-04 19:34:59发表:
c7d90fa2adb413571430b82a9582bf77 http://pausini-io-canto-scarica-mp3.xcwjal.org/ http://dr-scholl-s-calzatura-vendita.xcwjal.org/ http://elenco-scuola-medie-ad-indirizzo-musicale.pgbdyc.org/ http://15-febbraio-1996-n-66.dlmpxx.org/ http://video-canzone-as-roma-calcio.vprmbs.org/ http://come-conoscere-il-proprio-ip.dqiqbg.org/ http://scheda-video-point-of-view.divuvu.org/ http://potenza-kw-piaggio-liberty-125.nfvzoo.org/ http://tabella-distanza-chilometriche-italia-tutto-mondo.nfvzoo.org/ http://dott-ssa-cristina-nata-1975.xcwjal.org/ e2344a7b53a49ae4d6fdb2a64dbf9945
80.33.32.* 于 2007-06-03 23:48:40发表:
9dd1eef3d7af08403625ab890e79f0af giardinodelledelizie http://paolafolliascoltamitesto.seyzuo.org/potare-schlumbergera/index.htm sportello cornaredo edilizia milan agrate brianza youtube sibille cane busta belkin 7f8t012 pompa centrifuga ksb intolleranza alimentare sciroppo glucosio soluzione hamtaro unite http://giuliocozzolibiografia.nlamku.org/patologie-umana-sembianze-animale/index.htm 83869c431dabc6ba13fe3e3c64cc8ac5
201.248.47.* 于 2007-06-03 05:58:53发表:
2c808c8e37412806a48e1dc07fc3a50f http://94circolodidatticomontesacro.bdizoa.org/tastiera-musicale-yamaha-psr-k1/index.htm http://simonetomassinibarbalunga.sdibjo.org/incubatoi-fagiano/index.htm http://plafonierehql.sdibjo.org/filmino-girati-col-cellulare/index.htm scheda tecnica 405 t16 http://lionesoniarykiel.ksibgs.org/maniglie-porte-interni-chiusura-portafoglio/index.htm http://scidecomivrea.sdibjo.org/generatore-silenziati/index.htm http://valeriamariniit.lskson.org/ricetta-burghul-minestra/index.htm http://immaginetavernettepiemonte.ksibgs.org/erbesi-pisolo/index.htm mad1962 alice it andrea http://canettisefarditi.bdizoa.org/storia-corno-tibetano/index.htm 691e5261e7f26fe9bfca38d324fb1940
190.22.121.* 于 2007-06-02 10:07:02发表:
e367725a42d3998bc95ce4954ba7afcd smeraldo arkansas giacimenti morellato uomo orologio metropolitan http://itarcasurgelati.seyzuo.org/bartaletti-silvano/index.htm http://docenteuninaitrosazza.beajbg.org/edirol-canvas-90-occasione/index.htm http://formulariodepositatiagenteimmobiliare.inkrxe.org/edoardo-bennato-burattino-filo/index.htm http://tecnicaingrossarepene.beajbg.org/affitto-passatoie-cerimonia/index.htm http://parallelismoflangemacchinarotanti.inkrxe.org/libreria-dll-explorer-trojan-rimosso-crash/index.htm http://kitdecoupagefabbroeditore.nlamku.org/elaborazioni-tuareg/index.htm http://recordatiamianto.inkrxe.org/ingrosso-bicchiere-posata-plastica/index.htm http://parallelismoflangemacchinarotanti.inkrxe.org/sistema-ridotto-totocalcio-enalotto-lotto/index.htm 63aa5c5d6850cbd0ab7a0b3644130d9e
61.22.39.* 于 2007-06-01 15:35:19发表:
ad4ba6697fbe68a6eccb9f4196a6144f betty fea sigla testo traduzione http://donperignonlistino.mljuyb.org/foto-cimitero-inglese-torino-sangro/index.htm http://laminazionelavorazionemeccanicaincollaggiolegnomassiccio.leikrf.org/binacci-arredamento-pubblicita/index.htm http://berlinogasthauslentz.leikrf.org/maddalena-corvaglia-calendario-2207/index.htm http://skrikkianotizia.pdjkai.org/intervista-tying-tiffany/index.htm http://confederazionecavaliericrociatidimalta.uzghnh.org/borsa-nki/index.htm navigatore satelitari scommessa dritta sport soldo curro ricetta spagna interferenza wbc 5447788e0ee79eeca3d64876f41eb1cf
84.123.138.* 于 2007-05-30 07:46:00发表:
0853d5fe6b93aa0d3b70c35752540187 bombril http://mnopyi.org/religiao/religiao-e-crencas.html http://mnopyi.org/senadores/senadores-2007.html http://ovvkft.org/emissora/emissora-afiliada-rede-record-goiania.html conceito http://ovvkft.org/foto/foto-de-micareta-na-bahia.html http://mnopyi.org/bregas/bregas-mp3.html http://ovvkft.org/clube/clube-do-churrasqueiro.html relacao http://wfcqxw.org/me/me-pege-puxe.html a91f06099d8916d08fc86aebeef191c8
64.254.240.* 于 2007-05-29 06:29:04发表:
358d4e766be96d5ee36fd0442012bf82 swou http://xwqumn.org/granito/granito-az-pau-br.html http://lcitij.org/construtora/construtora-residenciais.html http://grpytd.org/volume/volume-agua-gelada-chillers.html http://xvqeoy.org/fragmentos/fragmentos-de-um-discurso-amoroso.html http://sxrzpn.org/divorcio/divorcio-suica.html jogo http://sxrzpn.org/altair/altair-rogerio-hotmail.html tipo alternador ea84313ff4cf4b8bb8ec851c693c83a5
88.15.154.* 于 2007-05-28 14:25:53发表:
f50e803a5f7bcbe5e50a2ce5bc89bceb http://xvqeoy.info/traducao/traducao-max-payne.html http://mnopyi.info/ciretran/ciretran-de-santana-de-parnaiba.html http://xvqeoy.info/http/http-www-rjnet-br-1velocimetro-php.html http://xvqeoy.info/saojosedoscampos/saojosedoscampos-sp-br.html http://ifrtox.info/artesanato/artesanato-produto-gato-preto.html http://ifrtox.info/foto/foto-de-convite-de-casamento.html http://ifrtox.info/programa/programa-susto.html http://mnopyi.info/modulacao/modulacao-fase-pm-vantagens.html http://ifrtox.info/colcha/colcha-tognato.html http://mnopyi.info/propriedade/propriedade-banana-nanica.html 921da3b25f91ff5411abb8e73f72697f
190.75.163.* 于 2007-05-27 22:44:56发表:
950e08e566192d88a6821fe17c5f3f52 http://xwqumn.info/viacao/viacao-facio.html http://lcitij.info/pessoa/pessoa-procuradas.html http://ovvkft.info/regimento/regimento-itororo.html http://sxrzpn.info/eduardo/eduardo-nicolau.html http://ovvkft.info/grade/grade-baldan-24-disco.html http://wfcqxw.info/programa/programa-enriquecimento-instrumental-pei.html http://sxrzpn.info/problema/problema-sogra.html http://sxrzpn.info/case/case-w20-nova.html http://xwqumn.info/colegio/colegio-da-policia-militar-da-bahia.html http://lcitij.info/ortobom/ortobom-curitiba-colchao.html 6d9dd05b81c19c63ae8e87cbbcfe2050
190.73.158.* 于 2007-05-27 06:35:08发表:
c6e31cd6cc3a2a5fd9226f46ae338920 http://xvqeoy.info/aparelho/aparelho-telefonico-voip-fixo.html http://grpytd.info/diario/diario-oficial-do-estado-do-rio-de-janeiro-dia-20-03-2007.html http://mnopyi.info/brincadeira/brincadeira-festa-juninas.html http://grpytd.info/manuela/manuela-na-playboy.html http://grpytd.info/frequencia/frequencia-cardiaca-normal.html http://mnopyi.info/selecao/selecao-callcenter-br-abnamro.html http://mnopyi.info/juiz/juiz-condenado-dano-morais-advogados.html http://mnopyi.info/empirismo/empirismo-inatismo.html http://grpytd.info/vestimentas/vestimentas-astecas.html http://pegekq.info/foto/foto-catu-bahia.html 899833c87d41a40d77c99858b4681e10
200.109.141.* 于 2007-05-26 16:29:27发表:
149f2b4bfeb6952b4a57c19258d10f8d http://sxrzpn.info/cientista/cientista-wallace.html http://xwqumn.info/getec/getec-concurso.html http://xwqumn.info/aumenta/aumenta-velocidade-discada-veloz.html http://sxrzpn.info/hotel/hotel-na-praia-do-litoral-norte.html http://sxrzpn.info/biblioteca/biblioteca-nacional-digital-portugal.html http://ovvkft.info/bra/bra-tranportes-aereos.html http://lcitij.info/asteca/asteca-tipo-economia-predominante.html http://lcitij.info/cancelar/cancelar-conta-msn.html http://xwqumn.info/indianismo/indianismo-ultra-romantismo-luis-nicolau-fagundes-varela.html http://lcitij.info/numero/numero-da-inscricao-estadual.html 3c6c60ce2277246c0f4063c97808fccb
220.48.48.* 于 2007-05-26 00:31:10发表:
280a7319fa74ce358bd0eaa164e1dc5c http://offerte-di-lavoro-per-fisioterapisti.lxcjch.org/ http://scuola-ballo-latino-americano-buccinasco-milano.nuusjq.org/ http://tu-che-ne-sai-testo.itwasb.org/ http://galleria-arte-italia-fastweb-net.lxcjch.org/ http://simona-ventura-su-vanity-fair.mbduev.org/ http://il-signore-degli-anelli-scheda-film.lxcjch.org/ http://cosa-dovuto-disturbo-ossessivo-compulsivo.qumpvr.org/ http://antonveneta-stazione-bank-identifier-coda.sfmyzx.org/ http://progetto-laboratorio-ludico-creativi-obiettivo-target.qumpvr.org/ http://dove-posso-scaricare-lista-hubs-zdc.sfmyzx.org/ f4e92eaca3a0992e5377af9d5fb45ea4
190.36.31.* 于 2007-05-25 04:31:34发表:
92f68cc073180a68f7bf288ac1b23de8 http://posta-italiana-prezzo-posta-semplice.xrpkif.org/ http://viaggio-di-nozze-in-polinesia.rsxmtx.org/ http://offerta-lavoro-edilizia-emilia-romagna.ikqtqu.org/ http://apple-com-it-ipod-start-installato.ikqtqu.org/ http://coppia-cerca-uomo-puglia-sesso.xrpkif.org/ http://rivista-cd-classica-musica-recensione.hgfrvc.org/ http://hotel-santafe-san-giusto-canavese.xrpkif.org/ http://pirelli-scorpion-ice-snow-prezzo.xrpkif.org/ http://offerta-lavoro-presso-azienda-zootecniche.lwozoc.org/ http://trucco-age-of-empires-2-pc.ljznde.org/ 46517f671cf87061af6ace763c7eda9d
85.155.18.* 于 2007-05-24 12:27:49发表:
08c7f809bbc18f3deb5c2586e7d8e9cb http://driver-stampante-generica-win-98-download.mbduev.org/ http://linea-guida-protezione-atmosfere-esplosive.nuusjq.org/ http://progetto-polo-formativo-integrato-bene-culturale.itwasb.org/ http://fucile-per-tiro-a-volo.mbduev.org/ http://testo-you-never-can-tell.lxcjch.org/ http://banca-romagna-centro-credito-cooperativo.sfmyzx.org/ http://life-ambiente-2006-comune-roma.pmdxoz.org/ http://galleria-sito-porno-3x2-publiweb.nuusjq.org/ http://myst-v-traduzione-italiano-file.itwasb.org/ http://all-inclusive-sharm-san-silvestro.mbduev.org/ 7798902e03c54f1db3af807b5937ee1b
190.31.234.* 于 2007-05-23 19:43:52发表:
34bb61b958e12743fcf3a5fb2a9c2785 http://880joeam.ipnwxi.net/2005-09-22.html http://topsdrywall.utwikd.net/2005-07-21.html http://china-eton.qsogkn.net/2005-08-24.html http://saltcay.ipnwxi.net/2005-09-14.html http://zrkt.qsogkn.net/2005-09-29.html http://barbarism.ipnwxi.net/2005-09-06.html http://xismail.smhiru.net/2005-09-26.html http://thesees.pbcqvd.net/2005-07-27.html http://rimmzim.ynfqkm.net/2005-10-06.html http://enterpriseis.ynfqkm.net/2005-07-10.html e7000c4d06986984b665ec9d15ae719a
201.243.221.* 于 2007-05-16 03:21:50发表:
http://b3ef154adba299100325ca5302443287-t.qwoypw.info b3ef154adba299100325ca5302443287 http://b3ef154adba299100325ca5302443287-b1.qwoypw.info b3ef154adba299100325ca5302443287 http://b3ef154adba299100325ca5302443287-b3.qwoypw.info b43a48a848da56275457e93295654b68