ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÔÚUNIX»òÕßLinuxÉϹ¤×÷µÄÓû§µÄ½Ì³Ì£ºBashÐÂÊÖÖ¸ÄÏ

·¢²¼Ê±¼ä:2006-11-05 01:41:37À´Ô´:ºìÁª×÷Õß:Ííµã
[align=center]Óо­ÑéµÄUNIX»òÕßLinuxÓû§½Ì³ÌϵÁУºBashÐÂÊÖÖ¸ÄÏ
Bash Guide for Beginners ÖÐÎÄ°æ[/align]

±¾Îĵµ½á¹¹

µÚÒ»Õ£ºBash »ù´¡
µÚ¶þÕ£º½Å±¾»ù´¡
µÚÈýÕ£ºBash »·¾³
µÚËÄÕ£ºÕýÔò±í´ïʽ
µÚÎåÕ£ºSed
µÚÁùÕ£ºAwk
µÚÆßÕ£ºÌõ¼þÓï¾ä
µÚ°ËÕ£º½»»¥½Å±¾
µÚ¾ÅÕ£ºÖظ´Ö´ÐÐÃüÁî

Ë­Ó¦¸ÃÔĶÁ´ËÊé

ÿ¸öÔÚUNIX »òÕßÀàUNIX ϵͳÉϹ¤×÷ÇÒÏëʹÉú»î±äµÃ¼òµ¥µÄÈËÒÔ¼°ÏµÍ³¹ÜÀíÔ±£¬ÄÜ´ÓÔĶÁ±¾Êé»ñÒæ¡£ÒѾ­ÕÆÎÕͨ¹ýÃüÁîÐÐʹϵͳÔËתµÄ¶ÁÕß½«»áѧµ½Í¨¹ýÁ˽âshell ½Å±¾Ê¹ÈÕ³£ÈÎÎñµÄÖ´ÐбäµÃ°²ÒÝ¡£ÏµÍ³¹ÜÀíÔ±ÒÀ¿¿´óÁ¿µÄshell ½Å±¾£¬ÈÕ³£ÈÎÎñͨ³£Ê¹ÓÃһЩ¼òµ¥½Å±¾×Ô¶¯ÔËÐС£±¾Îĵµ³äÂúÀý×Ó½«»á¹ÄÀøÄãд³öÄã×Ô¼ºµÄ½Å±¾¶øÇÒ¹ÄÀøÄã¸Ä½øÏÖÓеĽű¾¡£

ÏȾöÌõ¼þ£¬²»°üº¬ÔÚ±¾½Ì³Ì
ÄãÓ¦¸ÃÊÇÒ»¸öÓо­ÑéµÄUNIX »òÕßLinux Óû§£¬ÊìϤ»ù±¾ÃüÁîºÍman °ïÖúÎĵµ
Äܹ»Ê¹ÓÃÎı¾±à¼­Æ÷
Àí½âϵͳÆô¶¯ºÍ¹Ø±Õ½ø³Ì£¬³õʼ»¯ºÍ³õʼ»¯½Å±¾
Äܽ¨Á¢Óû§ºÍ×飬ÒÔ¼°ÃÜÂë
ÓµÓÐÏàӦȨÏÞ£¬ÄܽøÈ벻ͬģʽ
Àí½âÉ豸£¬·ÖÇø£¬¹ÒÔØ/жÔØÎļþϵͳµÄÃû×ÖÔ¼¶¨
ÔÚϵͳÖа²×°/ɾ³ýÈí¼þ
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 1412 ÌõÆÀÂÛ

  1. 72.232.206.* ÓÚ 2006-11-29 13:42:42·¢±í:

    Well done!
    My homepage | Cool site

  2. juanshuchun ÓÚ 2006-11-06 10:24:15·¢±í:

    have a look!

  3. À¶É«ÓÇÓô ÓÚ 2006-11-05 17:11:54·¢±í:

    ÏÂÔØ¿´¿´

  4. Ííµã ÓÚ 2006-11-05 01:42:35·¢±í:

    Ŀ¼

    ½éÉÜ 2
    1 ±¾Ö¸Äϵ®ÉúÔ­Òò 2
    2 Ë­Ó¦¸ÃÔĶÁ´ËÊé 2
    3 а汾ºÍÈ¡µÃ·½·¨ 2
    4 ÀúÊ·ÐÞ¶© 2
    5 ¹±Ï× 2
    6 ·´À¡ 2
    7 °æȨÐÅÏ¢ 2
    8 ÄãÐèҪʲô£¿ 2
    9 ÎĵµÔ¼¶¨ 2
    10 ±¾Îĵµ½á¹¹ 2
    µÚÒ»Õ Bash ºÍBash ½Å±¾ 2
    11ÆÕͨshell ³ÌÐò 2
    111 shell µÄ×÷Óà 2
    112 shell ÀàÐÍ 2
    12 Bash µÄÓÅÊÆ 2
    121 Bash ÊÇGNU Shell 2
    122 Bash ¶ÀÓеÄÌØÐÔ 2
    13 Ö´ÐÐÃüÁî 2
    131 ¸ÅÒª 2
    132 Shell ÄÚ²¿ÃüÁî 2
    133 ´Ó½Å±¾Ö´ÐгÌÐò 2
    14 ½¨Á¢¿é 2
    141 Shell ½¨Á¢¿é 2
    15 ¿ª·¢ÓÅÁ¼½Å±¾2
    151 ÓÅÁ¼½Å±¾µÄÒªËØ 2
    152 ½á¹¹ 2
    153 ÊõÓï 2
    154 ÓÐÐòÇÒÓÐÂß¼­ÐÔ 2
    155 Ò»¸öBash ½Å±¾µÄÀý×Ó£ºmysystemsh 2
    156 ³õʼ»¯½Å±¾Àý×Ó 2
    16 ×ܽá 2
    17 Á·Ï° 2
    µÚ¶þÕ ±àдºÍµ÷ÊԽű¾ 2
    21 ½¨Á¢²¢ÇÒÔËÐÐÒ»¸ö½Å±¾ 2
    211 ±àдÓëÃüÃû 2
    212 Script1sh 2
    213 Ö´Ðнű¾ 2
    22 ½Å±¾»ù´¡ 2
    221 ÄĸöShell À´Ö´Ðнű¾ 2
    222 ¼ÓÈë×¢ÊÍ 2
    23 µ÷ÊÔBash ½Å±¾ 2
    231 µ÷ÊÔÕû¸ö½Å±¾ 2
    232 µ÷ÊÔ²¿·Ö½Å±¾ 2
    24 ×ܽá 2
    25 Á·Ï° 2
    µÚÈýÕÂ Bash »·¾³ 2
    31 Shell ³õʼ»¯Îļþ 2
    311 ¿çϵͳÅäÖÃÎļþ 2
    312 µ¥¶ÀÓû§ÅäÖÃÎļþ 2
    313 ¸Ä±äshell ÅäÖÃÎļþ 2
    32 ±äÁ¿ 2
    321 ±äÁ¿µÄÀàÐÍ 2
    322 ½¨Á¢±äÁ¿ 2
    323 µ¼³ö±äÁ¿ 2
    324 ±£Áô±äÁ¿ 2
    325 ÌØÊâ²ÎÊý 2
    326 ½Å±¾Í¨¹ý±äÁ¿Ñ­»· 2
    33 ÒýÓÃ×Ö·û 2
    331 ΪºÎ£¿¡£¡£ 2
    332 תÒå×Ö·û 2
    333 µ¥ÒýÓÃ2
    334 Ë«ÒýÓÃ2
    335 ANSI−C ÒýÓÃ 2
    336 Locales46 2
    34 Shell À©Õ¹ 2
    341 ¸ÅÒª 2
    342 ´óÀ¨ºÅ±í´ïʽ 2
    343 ²¨À˱í´ïʽ 2
    344 Shell ²ÎÊýºÍ±äÁ¿À©Õ¹ 2
    345 ÃüÁîÌæ»» 2
    346 ËãÊõ±í´ïʽ 2
    347 Ìæ»»µÄ´¦Àí 2
    348 Word splitting 2
    349 ÎļþÃûÀ©Õ¹ 2
    35 ±ðÃû 2
    351 ʲôÊDZðÃû 2
    352 ½¨Á¢ºÍÏû³ý±ðÃû 2
    36 ¸ü¶àBash Ñ¡Ïî 2
    361 ÏÔʾѡÏî 2
    362 ¸Ä±äÑ¡Ïî 2
    37 ×ܽá 2
    38 Á·Ï° 2
    µÚËÄÕ ÕýÔò±í´ïʽ 2
    41 ÕýÔò±í´ïʽ 2
    411 ʲôÊÇÕýÔò±í´ïʽ 2
    412 ÕýÔò±í´ïʽmetacharacters 2
    413 Basic versus À©Õ¹ÕýÔò±í´ïʽ 2
    42 ʹÓÃGrep µÄÀý×Ó 2
    421 ʲôÊÇGrep? 2
    422 Grep ÓëÕýÔò±í´ïʽ 2
    43 ģʽƥÅäʹÓÃBash ÌØÐÔ 2
    431 ×Ö·û·¶Î§ 2
    432 ×Ö·û classes 2
    44 ×ܽá 2
    45 Á·Ï° 2
    µÚÎåÕ GNU SED Á÷±à¼­Æ÷ 2
    51 ½éÉÜ 2
    511 ʲôÊÇsed? 2
    512 sed ÃüÁî 2
    52 ½»»¥±à¼­ 2
    521 ´òÓ¡°üº¬pattern µÄÐÐ 2
    522 ɾ³ý°üº¬pattern µÄÊäÈëÐÐ 2
    523 Ðеķ¶Î§ 2
    524 ÓÃsed ²éÕÒÌæ»» 2
    53 ·Ç½»»¥±à¼­ 2
    531 ´ÓÎļþ¶ÁÈ¡sed ÃüÁî 2
    532 дÊä³öÎļþ 2
    54 ×ܽá 2
    55 Á·Ï° 2
    µÚÁùÕ GNU AWK ±à³ÌÓïÑÔ 2
    61 gawk ÉÏ· 2
    611 ʲôÊÇgawk? 2
    612 Gawk ÃüÁî 2
    62 ´òÓ¡³ÌÐò 2
    621 ´òÓ¡Ñ¡ÔñµÄÓò 2
    622 ¸ñʽ»¯¿é 2
    623 ´òÓ¡ÃüÁîºÍÕýÔò±í´ïʽ 2
    624 ÌØÊâµÄpattern 2
    625 Gawk ½Å±¾ 2
    63 Gawk ±äÁ¿ 2
    631 ÊäÈë¿éµÄ·Ö¸ô·û 2
    632 Êä³öµÄ·Ö¸ô·û 2
    633 ¼Ç¼µÄÊýÁ¿ 2
    634 Óû§¶¨Òå±äÁ¿ 2
    635 ¸ü¶àÀý×Ó 2
    636 printf ³ÌÐò 2
    64 ×ܽá 2
    65 Á·Ï° 2
    µÚÆßÕ Ìõ¼þÓï¾ä 2
    71 ½éÉÜif 2
    711 ¸ÅÒª 2
    712if µÄ¼òµ¥Ó¦Óà 2
    72¸ü¶àif µÄ¸ß¼¶Ê¹Ó÷½·¨ 2
    721if/then/else ½á¹¹ 2
    722 if/then/elif/else ½á¹¹ 2
    723if ǶÌ×Óï¾ä 2
    724²¼¶û²Ù×÷ 2
    725 ʹÓÃexit Óï¾äºÍif 2
    73ʹÓÃcase Óï¾ä2
    731¼òµ¥µÄÌõ¼þ 2
    74×ܽá 2
    75Á·Ï° 2
    µÚ°ËÕ ±àд½»»¥½Å±¾ 2
    81ÏÔʾÓû§ÏûÏ¢ 2
    811 ½»»¥Óë·ñ 2
    812 ʹÓÃÄÚ½¨echo ÃüÁî 2
    82 ²¶»ñÓû§ÊäÈë2
    821 ʹÓÃÄÚ½¨read ÃüÁî 2
    822 ÌáʾÓû§ÊäÈë 2
    823 Öض¨ÏòºÍÎļþÃèÊö·û 2
    824 ÎļþÊäÈëºÍÊä³ö 2
    83 ×ܽá 2
    84 Á·Ï° 2
    µÚ¾ÅÕ Öظ´ÐÔÈÎÎñ 2
    91 for Ñ­»· 2
    911 ÈçºÎ¹¤×÷ 2
    912 Àý×Ó 2
    92 while Ñ­»· 2
    921 What is it?108 2
    922 Àý×Ó 2
    93 until Ñ­»· 2
    931 What is it?111 2
    932 Àý×Ó 2
    94 I/O Öض¨ÏòºÍÑ­»· 2
    941 ÊäÈëÖض¨Ïò 2
    942 Êä³öÖض¨Ïò 2
    95 Break ºÍcontinue 2
    951ÄÚ½¨break 2
    952ÄÚ½¨continue2
    953 Àý×Ó 2
    96 Making menus with the select built−in115 2
    961 ¸ÅÒª115 2
    962 ×Ӳ˵¥2
    97ÄÚ½¨shift 2
    971 What does it do?117 2
    972 Àý×Ó 2
    98 ×ܽá 2
    99 Á·Ï° 2
    µÚʮՠÉîÈë±äÁ¿ 2
    101 ±äÁ¿ÖÖÀà 2
    1011 ¸ÅÒª assignment of values120 2
    1012 ʹÓÃÄÚ½¨declare 2
    1013 ³£Á¿ 2
    102 Êý×é±äÁ¿122 2
    1021 ´´½¨Êý×é 2
    1022 Dereferencing the ±äÁ¿ in an array122 2
    1023 ɾ³ýÊý×é±äÁ¿ 2
    1024 Êý×éÀý×Ó 2
    103 Operations on ±äÁ¿ 2
    1031 Arithmetic on ±äÁ¿126 2
    1032 ±äÁ¿µÄ³¤¶È 2
    1033 ±äÁ¿µÄת±ä 2
    104 ×ܽá 2
    105 Á·Ï° 2
    µÚʮһÕ º¯Êý 2
    111 ½éÉÜ 2
    1111 ʲôÊǺ¯Êý? 2
    1112 º¯ÊýÓï·¨ 2
    1113 º¯ÊýÖвÎÊýµÄλÖà 2
    1114 ÏÔʾº¯Êý 2
    112 ½Å±¾Öк¯ÊýµÄÀý×Ó 2
    1121 Ñ­»·ÀûÓÃ 2
    1122 ÉèÖ÷¾¶ 2
    1123 Ô¶³Ì±¸·Ý 2
    113 ×ܽá 2
    114 Á·Ï° 2
    µÚÊ®¶þÕ ²¶×½ÐźŠ2
    121 ÐźŠ2
    1211 ½éÉÜ 2
    1212 kill ÐźŵÄʹÓà 2
    122 ÏÝÚå 2
    1221 ¸ÅÒª 2
    1222 Bash ÔõÑù½âÊÍÏÝÚå 2
    1223 ¸ü¶àÀý×Ó 2
    123 ×ܽá 2
    124 Á·Ï° 2
    ¸½Â¼A Shell ÌØÐÔ 2
    A1³£ÓÃÌØÐÔ 2
    ¸½Â¼B GNU ×ÔÓÉÎĵµÊØÔò 2