[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
honglianqxw123 ÓÚ 2012-03-22 09:38:11·¢±í:
лл£¬ÏÈ×ö¸ö¼ÇºÅ¡£
fztcjjl ÓÚ 2012-03-18 08:57:44·¢±í:
¸üÐÂÖÁµÚÁùÕ¡¶Ñ»·Óï¾ä¡·
nono2000 ÓÚ 2012-02-26 21:25:50·¢±í:
·¹ý¡£¿´¿´¡£
Lchii ÓÚ 2012-02-26 18:46:17·¢±í:
¸ÐлÄãµÄ·ÖÏí£¡£¡£¡£¡£¡£¡
shimuxi ÓÚ 2012-02-20 11:23:12·¢±í:
hao
shimuxi ÓÚ 2012-02-20 11:16:44·¢±í:
hao
fztcjjl ÓÚ 2012-02-18 18:46:12·¢±í:
¸üÐÂÖÁµÚÎåÕÂÌõ¼þÓë·ÖÖ§Óï¾ä
fztcjjl ÓÚ 2012-02-02 12:09:46·¢±í:
ÒѸüÐÂÖÃshellÌõ¼þ²âÊÔ
honglianqxw123 ÓÚ 2012-02-01 08:15:02·¢±í:
лл·ÖÏí£¬ÕýÔÚ¿´¡£
honglianqxw123 ÓÚ 2012-01-30 12:22:15·¢±í:
3# metoopopo
лл·ÖÏí
fztcjjl ÓÚ 2012-01-29 20:58:53·¢±í:
×Ô¼º¶¥Ò»ÏÂ
»ÆÝé ÓÚ 2012-01-28 17:42:22·¢±í:
up!
metoopopo ÓÚ 2012-01-28 09:52:38·¢±í:
ÊÓƵºÜ¾«²Ê£¬ÆÚ´ý¸ü¶àµÄÊÓƵ
Lhhba ÓÚ 2012-01-27 21:10:21·¢±í:
·¹ýµÎ