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¡£
voff12 ÓÚ 2006-07-29 17:32:03·¢±í:
ÐÂÊÖ±¨µÀ ¡ü¡ü¡ü¡ü¡ü
Cyisz ÓÚ 2006-07-29 09:46:56·¢±í:
Ö§³ÖÖÐ
ert ÓÚ 2006-07-17 09:23:42·¢±í:
»¹±¨µ½Ñ§Ï°ÁË
redapp ÓÚ 2006-07-13 21:02:49·¢±í:
¾Ñé¼¼ÇÉѽ£¬Ð»Ð»
szcaizai ÓÚ 2006-03-25 14:11:02·¢±í:
ºÃ
²»µÃ²»°® ÓÚ 2006-03-08 20:31:52·¢±í:
¹þ¹þ,,,,ÕæµÄÄܼÇסµÄ»°¾Í²»´íÁË.
juyo ÓÚ 2005-10-23 00:38:52·¢±í:
Ö§³Ö
rizi800 ÓÚ 2005-09-28 12:58:07·¢±í:
ÐÂ×°ºìÆìÀ´Õâѧϰ ѧϰ
¸Ð¾õ»¹²»´í¡£
artiomgy ÓÚ 2005-09-28 00:19:17·¢±í:
¸Ðл·ÖÏí
ºÎ¸ç ÓÚ 2005-09-15 11:18:07·¢±í:
ºÃ¶«¶«
ccs ÓÚ 2005-08-10 00:03:24·¢±í:
ºÃ¶«¶«ÍùÉ϶¥
97221 ÓÚ 2005-07-28 00:01:13·¢±í:
¸Õ½Ó´¥LINUX,ÉÏÃæÕâЩ¶«¶«¾ÍÏñÊÇÌìÊéËƵÄ!
dndyjxcn ÓÚ 2005-07-22 01:10:05·¢±í:
ÐÂÊÖ±¨µÀ ¡ü¡ü¡ü¡ü¡ü
poison ÓÚ 2005-07-09 20:16:57·¢±í:
ÐÂÊÖ±¨µÀ ¡ü¡ü¡ü¡ü¡ü
chentong ÓÚ 2005-06-18 10:07:29·¢±í:
ºÃÎÄ
uu ÓÚ 2005-06-05 00:16:34·¢±í:
¶¥¶¥
pchome ÓÚ 2005-05-22 20:20:17·¢±í:
¿¿£¬ÎҾͲ»ÐÅÄãÄܶ¼¼ÇסºÇºÇ¡£