ºìÁª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. 735513561 ÓÚ 2014-09-10 21:03:35·¢±í:

    ¸Ðл¥Ö÷·¢Ìû

  2. qwuicjdgty ÓÚ 2014-03-31 10:45:01·¢±í:

    European court ascertained that the EU's carbon emissions trading scheme does not infringe on the sovereignty of other nations, is not in violation of relevant Open Skies Agreement, in accordance with international law. This means that, USA sued the EU carbon tax failed. So far, at least 43 countries have openly opposed the EU emissions trading scheme.
    according to the provisions of the EU, since January 1, 2012, the EU will all arrive and fly from EU airports levy exceeding quota of carbon emissions fee. China altogether has 33 airlines in the collection of the list, according to Chinese Air Transport Association (referred to as "CATIC Association") to preliminary estimation, a first year, China Airlines Import and the EU will increase the total cost of 800000000 yuan, and that number will be increased to 3000000000 in 2020, 9 years accumulative total expenditure of about 17600000000 here element.
    according to the European Commission estimates, due to the rapid growth of air transport industry, from the "Kyoto Protocol" emission reduction in the environmental benefits, there are more than 1/4 will be offset by the EU aviation emissions growth, so plan from January 1, 2012 onwards, the aviation industry will be incorporated into the E T S (EU emissions trading system). This means that, from the beginning of 2012, all in the EU Area Airport Flights taking off and landing, all need to exceed the quota payment of the purchase cost of carbon emissions.
    in the first year of implementation of the resolution, the airline emissions of 97% will be the total amount of emissions targets, free credits airlines about can get 85%, but with the passage of time, at their own expense, the proportion will be growing.
    specific to the China market, according to CATIC Association preliminary estimates, ETS will be executed to Chinese civil aviation industry in 2012 800000000 yuan in the new cost, by 2020 will increase to 3000000000 Yuan, the 9 year cumulative expenditure of about 17600000000 yuan.
    reportedly, Europe is a major international tourist destination of China's aviation market, China airlines to Europe route is in growth period. At present, China has the largest European routes, one-way flights weekly reached 70-80 class.
    China opposes the European Union imposed international aviation carbon tax
    China Foreign Ministry spokesman Liu Weimin 22 in Beijing on the European Court to allow the EU imposed international aviation carbon tax ruling said, China opposes the EU to impose unilateral legislation. He said, in fact, many countries are also on the EU opposed. China hopes that the EU is to act prudently, a positive and pragmatic attitude, properly in consultation with the parties concerned including China to deal with the matter.

  3. yyx27 ÓÚ 2014-03-24 09:18:48·¢±í:

    ÓÐÒâ˼

  4. skyfree110 ÓÚ 2014-01-08 22:21:34·¢±í:

    ¶¥Ò»ÏÂ~~~~~£¡£¡£¡£¡£¡£¡

  5. doitmyrui ÓÚ 2013-12-20 13:33:23·¢±í:

    Ç¿ÁÒÖö¥

  6. jyzh0112 ÓÚ 2013-11-13 14:43:09·¢±í:

    лл£¬Ñ§Ï°Ñ§Ï°

  7. a737714673 ÓÚ 2013-05-16 17:36:54·¢±í:

    ѧϰһÏÂ

  8. luominglei ÓÚ 2013-05-07 18:08:50·¢±í:

    ²»´í

  9. gfchj ÓÚ 2013-04-28 13:52:30·¢±í:

    ѧϰ

  10. fztcjjl ÓÚ 2013-04-22 20:19:35·¢±í:

    ¶¥Ò»¸ö

  11. СÖñÖñÁÖ ÓÚ 2013-03-29 12:31:11·¢±í:

    ²»´íŶ ¶¥Ò»¸ö

  12. linux_newer1 ÓÚ 2013-03-21 08:45:41·¢±í:

    ºÃ¶«Î÷£¡

  13. Ë®ºÃ²èÏã ÓÚ 2013-02-25 17:31:38·¢±í:

    ѧϰÏ£¡

  14. ding_cw ÓÚ 2013-02-04 13:56:57·¢±í:

    ÕýºÃÊÇÎÒÒªÕÒµÄлл·ÖÏí

  15. ding_cw ÓÚ 2013-02-04 13:56:52·¢±í:

    ÕýºÃÊÇÎÒÒªÕÒµÄлл

  16. yojimbo ÓÚ 2013-01-07 13:23:49·¢±í:

    ºÃ¶«Î÷

  17. chen123guoyun ÓÚ 2012-12-25 12:26:14·¢±í:

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

  18. sunlightboy514 ÓÚ 2012-12-21 11:27:33·¢±í:

    ºÃ¶«Î÷

  19. pythonner ÓÚ 2012-12-13 15:19:22·¢±í:

    ѧϰÁË£¬¸Ðл

  20. linjk32983 ÓÚ 2012-12-04 18:09:30·¢±í:

    ºÜºÃºÜºÃ~~¶à¶à·ÖÏíÕâÀණÎ÷Ŷ~:0)1

  21. cqg_1985 ÓÚ 2012-12-04 13:46:59·¢±í:

    ѧϰ

  22. YYW933 ÓÚ 2012-11-29 20:24:28·¢±í:

    ÂýÂý×ß¹ý

  23. ÄÉÃÆ¹Ï ÓÚ 2012-10-27 19:46:33·¢±í:

    ÆÚ´ý

  24. user3g ÓÚ 2012-09-14 14:20:03·¢±í:

    »ù´¡µÄSHELL°É£¬¶¼Êǽ²ÕâЩ£¬Õâ¸ö½Ì³Ì»¹Ã»ÓУ¬¶¥

  25. wjfbtx ÓÚ 2012-09-05 10:21:35·¢±í:

    ÕýÐèÒª

  26. huang0901 ÓÚ 2012-08-19 17:08:45·¢±í:

    thanks for sharing

  27. liuyanqiu0807 ÓÚ 2012-06-14 16:11:03·¢±í:

    ²»´íѧϰһÏÂ

  28. kklt2011 ÓÚ 2012-06-12 22:16:01·¢±í:

    ¿´¿´

  29. Lslltl ÓÚ 2012-06-10 18:33:19·¢±í:

    ÕýÔÚѧϰ

  30. fztcjjl ÓÚ 2012-05-22 18:56:25·¢±í:

    ¶¥Ò»¸ö

  31. fztcjjl ÓÚ 2012-05-09 08:20:40·¢±í:

    ÓÖÓиüÐÂÁË

  32. jiamianwuzhe ÓÚ 2012-05-02 14:55:24·¢±í:

    ÊÕ²ØÏ£¬ÓÐʱ¼ä¿´¿´:0)1

  33. fztcjjl ÓÚ 2012-05-02 07:46:50·¢±í:

    ÔÙ¶¥Ò»¸ö

  34. fztcjjl ÓÚ 2012-04-18 23:12:15·¢±í:

    ºóÆÚ»á¼ÖƸü¶àÊÓƵ£¬¶¼»áÓÐÏîÄ¿ÅäºÏµÄ¡£

  35. ÏÄÔƾ²Ó¿ ÓÚ 2012-04-09 21:18:42·¢±í:

    ѧϰÖÐ

  36. honglianqxw123 ÓÚ 2012-04-08 09:19:34·¢±í:

    ÓÐÏîÄ¿²ÅºÃ¡£

  37. fztcjjl ÓÚ 2012-04-05 00:25:28·¢±í:

    Shell¶íÂÞ˹·½¿é¸üÐÂÍê±Ï£¬Ï£Íû´ó¼ÒÄܲ»Ê±µØ¶¥ÆðÀ´¡£

  38. chenqungood ÓÚ 2012-04-03 22:04:14·¢±í:

    лл·ÖÏí£¡£¡ ѧϰһÏ£¡

  39. fztcjjl ÓÚ 2012-04-02 23:03:42·¢±í:

    ¸üÐÂÖÁµÚ°ËÕÂsed

  40. fztcjjl ÓÚ 2012-03-24 08:19:43·¢±í:

    ¸üÐÂÖÁµÚÆßÕ¡¶º¯Êý¡·