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

Shell±à³ÌÈëÃÅÊÓƵ·ÖÏí(C++½Ì³ÌÍø)

·¢²¼Ê±¼ä:2012-01-27 15:39:54À´Ô´:ºìÁª×÷Õß:fztcjjl
[i=s] ±¾Ìû×îºóÓÉ fztcjjl ÓÚ 2012-4-5 00:35 ±à¼­ [/i]

C++½Ì³ÌÍø(www.cppcourse.com)ÍƳöShell±à³ÌÈëÃÅÊÓƵ£¬»¶Ó­¹ã´ó»¥ÁªÍøÅóÓѹâÁÙ¡£Èç¹ûÐèÒª¸ü¸ßÇåµÄÊÓƵ£¬Çëµ½C++½Ì³ÌÍøÏÂÔØ¡£
¸ÃÊÓƵ½Ì³Ì½²½âLinuxµ×ϵÄShell±à³Ì£¬ÓÃShell½Å±¾ÊµÏÖÒ»¸ö¼òµ¥µÄ¶íÂÞ˹·½¿é³ÌÐò¡£


Shell±à³Ì»ù´¡
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
ʲôÊÇShell³ÌÐò
±¾µØ±äÁ¿
»·¾³±äÁ¿
λÖòÎÁ¿
Êý×é
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/shell_bian_cheng_ji_chu.html

ÊäÈëÊä³ö
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
read
echo
echoÊä³öÑÕÉ«Óë¹â±ê¶¨Î»
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/shell_input_output.html

ËãÊõÀ©Õ¹
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
µ¥ÒýºÅ¡¢Ë«ÒýºÅ¡¢·´ÒýºÅÇø±ð
ÃüÁîÌæ»»
ËãÊõÀ©Õ¹
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/shell_suan_su_kuo_zhan.html

Ìõ¼þ²âÊÔ
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
Ìõ¼þ²âÊÔ
×Ö·û´®²âÊÔ
ÕûÊý²âÊÔ
Âß¼­²âÊÔ
Îļþ²âÊÔ
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/shell_tiao_jian_ce_shi.html

Ìõ¼þÓë·ÖÖ§Óï¾ä
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
ifÓï¾ä
caseÓï¾ä
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/shell_tiao_jian_yu_fen_zhi.html

Ñ­»·Óï¾ä
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
forÓï¾ä
whileÓï¾ä
untilÓï¾ä
selectÓë²Ëµ¥
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/shell-xun-huan.html

º¯Êý
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
º¯ÊýµÄʹÓÃ
×Ö·û´®²Ù×÷
һЩÄÚÖÃÃüÁexpr,shift,eval,trapµÈ£©
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/shell_function.html

sed
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
ʲôÊÇÁ÷±à¼­Æ÷sed
sedµØÖ·¶¨Î»·½Ê½
sed±à¼­ÃüÁî
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/sed.html

awk
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
ʲôÊÇawk
awk¼òµ¥Ó÷¨
awk½Å±¾Óï·¨
awkÖ´Ðйý³Ì
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/awk.html

Shell¶íÂÞ˹·½¿éÉÏ
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
»ñÈ¡¼üÅÌ·½Ïò°´¼ü£¨read£©
ÆåÅÌ»æÖÆ£¨echo£©
¶íÂÞ˹·½¿é±íʾ£¨Ò»Î¬Êý×飩
¶íÂÞ˹·½¿éͼÐÎÊä³ö
½ø³ÌÄ£ÐÍ£¨ÏÔʽ½ø³Ì£¬¿ØÖƽø³Ì£©
²¶×½Ðźţ¨trap £©
¶íÂÞ˹·½¿éÔ´Âë·ÖÎö
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/shell_tetris1.html

Shell¶íÂÞ˹·½¿éÏÂ
±¾½Ú¿ÎµÄÖ÷ÒªÄÚÈÝÓУº
»ñÈ¡¼üÅÌ·½Ïò°´¼ü£¨read£©
ÆåÅÌ»æÖÆ£¨echo£©
¶íÂÞ˹·½¿é±íʾ£¨Ò»Î¬Êý×飩
¶íÂÞ˹·½¿éͼÐÎÊä³ö
½ø³ÌÄ£ÐÍ£¨ÏÔʽ½ø³Ì£¬¿ØÖƽø³Ì£©
²¶×½Ðźţ¨trap £©
¶íÂÞ˹·½¿éÔ´Âë·ÖÎö
ÔÚÏß²¥·ÅµØÖ·£ºhttp://www.cppcourse.com/shell_tetris2.html
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 54 ÌõÆÀÂÛ

  1. honglianqxw123 ÓÚ 2012-03-22 09:38:11·¢±í:

    лл£¬ÏÈ×ö¸ö¼ÇºÅ¡£

  2. fztcjjl ÓÚ 2012-03-18 08:57:44·¢±í:

    ¸üÐÂÖÁµÚÁùÕ¡¶Ñ­»·Óï¾ä¡·

  3. nono2000 ÓÚ 2012-02-26 21:25:50·¢±í:

    ·¹ý¡£¿´¿´¡£

  4. Lchii ÓÚ 2012-02-26 18:46:17·¢±í:

    ¸ÐлÄãµÄ·ÖÏí£¡£¡£¡£¡£¡£¡

  5. shimuxi ÓÚ 2012-02-20 11:23:12·¢±í:

    hao

  6. shimuxi ÓÚ 2012-02-20 11:16:44·¢±í:

    hao

  7. fztcjjl ÓÚ 2012-02-18 18:46:12·¢±í:

    ¸üÐÂÖÁµÚÎåÕÂÌõ¼þÓë·ÖÖ§Óï¾ä

  8. fztcjjl ÓÚ 2012-02-02 12:09:46·¢±í:

    ÒѸüÐÂÖÃshellÌõ¼þ²âÊÔ

  9. honglianqxw123 ÓÚ 2012-02-01 08:15:02·¢±í:

    лл·ÖÏí£¬ÕýÔÚ¿´¡£

  10. honglianqxw123 ÓÚ 2012-01-30 12:22:15·¢±í:

    3# metoopopo


    лл·ÖÏí

  11. fztcjjl ÓÚ 2012-01-29 20:58:53·¢±í:

    ×Ô¼º¶¥Ò»ÏÂ

  12. »ÆÝé ÓÚ 2012-01-28 17:42:22·¢±í:

    up!

  13. metoopopo ÓÚ 2012-01-28 09:52:38·¢±í:

    ÊÓƵºÜ¾«²Ê£¬ÆÚ´ý¸ü¶àµÄÊÓƵ

  14. Lhhba ÓÚ 2012-01-27 21:10:21·¢±í:

    ·¹ýµÎ