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¡£
jiadecun ÓÚ 2010-08-04 20:47:58·¢±í:
haoa
jiadecun ÓÚ 2010-08-04 20:47:44·¢±í:
haoa
jiadecun ÓÚ 2010-08-04 20:47:41·¢±í:
haoa
wangzi ÓÚ 2010-07-22 22:36:13·¢±í:
ÎÒÒ²ÊǼDz»×¡ÕâЩ°¡¡£
libineei ÓÚ 2010-07-22 12:22:22·¢±í:
ѧϰÖÐ
ly_chaojilong ÓÚ 2009-09-08 14:56:10·¢±í:
¶à¿´¿´¾ÍºÃ£¬²»Ò»¶¨¶¼ÐèÒª¼Çס¡£
a253794397 ÓÚ 2009-09-03 23:50:31·¢±í:
àÅ£¬°³µÃ¶à¿´¿´Ñ½
a253794397 ÓÚ 2009-09-03 23:50:20·¢±í:
àÅ£¬°³µÃ¶à¿´¿´Ñ½
Éñ¾µ¶ ÓÚ 2009-05-05 17:40:44·¢±í:
ºÃ¶«¶«
xiaoxiao0100 ÓÚ 2009-04-12 00:05:31·¢±í:
ºÃ£¬ÊÕ²ØÁË
LiuCan007 ÓÚ 2009-04-11 00:56:57·¢±í:
Ò»¿ÚÆø¿´ÍêÁË
ºÇºÇ
ÓÐÖÖû¿´¹ýµÄ¸Ð¾õ
fortitudefe ÓÚ 2009-04-10 18:11:10·¢±í:
¶ÔÓÚÐÂÊÖºÍÀÏÊÖ¶¼ÊǺÃÎÄÕ¡¡
fszx ÓÚ 2009-04-10 12:22:22·¢±í:
ÊÕ²ØÁË
TX464157234 ÓÚ 2009-04-08 22:51:20·¢±í:
лл·ÖÏí£¬ºÇºÇ
l_h_w123 ÓÚ 2007-11-25 11:10:42·¢±í:
Ì«¶àÁË¡£ÂýÂý¿´¡£¡£¡£
lovedarling ÓÚ 2007-11-24 17:31:51·¢±í:
ºÃ¾ÃûÓÐÀ´ÁË£¬ÔÙÀ´Ñ§Ï°ÁË¡£
ÎáÐĴȱ¯ ÓÚ 2007-11-24 17:11:06·¢±í:
ÎÒÔÚ¿´ÌìÊéµÄ˵ ¹þ¹þ ¸Õ½Ó´¥linux »¹Ã»Óдﵽ¿´¶®µÄµØ²½ º¹£¡
djdior0622 ÓÚ 2007-11-21 10:24:34·¢±í:
(6)m:b :0wszxc
cwb2264 ÓÚ 2007-06-04 17:29:20·¢±í:
ÕýÔÚѧϰÖС£¡£¡£¡£¡£
leetowin ÓÚ 2007-01-20 19:37:39·¢±í:
ºÃ¶«Î÷
q111111 ÓÚ 2007-01-16 19:52:13·¢±í:
:ha3nd
snqyss ÓÚ 2006-11-04 14:57:01·¢±í:
¶àл·ÖÏí
bianweixin ÓÚ 2006-11-03 15:19:25·¢±í:
ºÃÎÄÎÄÕ£¬ÊÕ²Øһϣ¬Ð»Ð»
clever_wy ÓÚ 2006-11-03 15:13:14·¢±í:
¶ÔÐÂÊÖÀ´Ëµ£¬»¹ÐèҪŬÁ¦Ñ§Ï°£¬Ð»Ð» £¡£¡
:0L
snqyss ÓÚ 2006-10-23 19:59:35·¢±í:
¸Ðл·ÖÏí
seeseesea ÓÚ 2006-10-12 11:21:09·¢±í:
:victory: ÏëÒªÓþ͵ÃÂýÂýµÄѧ,µÈѧ»áÁËÔÛÒ²À´¸öѧϰ¾Àú´ó×ܽá.
qxtx2005 ÓÚ 2006-10-04 19:33:42·¢±í:
¶ÔÓÚÎÒÀ´Ëµ`~µÄÈ·ÊÇÌìÊé
jo_say ÓÚ 2006-10-04 14:19:58·¢±í:
ºÇºÇ ²»´íµÄ¶«Î÷ ÓпÕÈÏʶÄãÒ»ÏÂ
ºÇºÇ ²»´íµÄ¶«Î÷ ÓпÕÈÏʶÄãÒ»ÏÂ
jo_say ÓÚ 2006-10-04 14:19:57·¢±í:
ºÇºÇ ²»´íµÄ¶«Î÷ ÓпÕÈÏʶÄãÒ»ÏÂ
ºÇºÇ ²»´íµÄ¶«Î÷ ÓпÕÈÏʶÄãÒ»ÏÂ
liu62395 ÓÚ 2006-10-04 11:53:37·¢±í:
ѧϰÁË
luckvalley ÓÚ 2006-09-21 13:29:30·¢±í:
¶¼ÊÇÊÔ¹ýµÄ°É£¿ ¾ÑéºÜÖØÒª£¬ºÜ³¤Ê±¼ä²»Åª£¬¾¹ÓÖÉúÊèÁË¡£¡£¡£
aggressor ÓÚ 2006-09-19 17:12:49·¢±í:
¸Ðл·ÖÏí
oracle_java ÓÚ 2006-08-29 17:41:23·¢±í:
²»´í£¬¶¥Ò»Ï£¡:ha3nd
ºîѧ°² ÓÚ 2006-08-29 00:58:54·¢±í:
Alittle difficult for me
i dun't think it really useful
luodapeng1007 ÓÚ 2006-08-28 22:03:38·¢±í:
лл
ÌìÌ촧Ħ²ÅÄÜÓнø²½µÃ¹þ
supersq ÓÚ 2006-08-28 15:48:15·¢±í:
¸Ðл·ÖÏí
supersq ÓÚ 2006-08-28 15:47:29·¢±í:
²»´í£¬¸Ðл·ÖÏí
cryboy ÓÚ 2006-07-30 07:25:11·¢±í:
ºÃ
wyxzhd ÓÚ 2006-07-29 22:41:07·¢±í:
лл
voff12 ÓÚ 2006-07-29 17:32:14·¢±í:
ÐÂÊÖ±¨µÀ ¡ü¡ü¡ü¡ü¡ü