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

Linux ShellʵÀý¾«½â±Ê¼Ç

·¢²¼Ê±¼ä:2007-05-22 00:24:32À´Ô´:ºìÁª×÷Õß:RoadCloud
Ç°ÑÔ
¿´Êéʱд±Ê¼ÇÊǸöºÃÏ°¹ß.
µÚÒ»Ìì:
1.ÖØÒªµÄshell
bash
tcsh
2.ÃüÁîÐÐÖ´ÐÐ˳Ðò
±ðÃû
¹Ø¼ü×Ö
º¯Êý
ÄÚ½¨ÃüÁî
¿ÉÖ´ÐгÌÐò //´ÅÅÌÎļþ
3.½ø³Ì:ÔÚlinuxÖпÉÒÔÓɵ¥¶ÀµÄpid±êʶµÄ³ÌÐò
4.½ø³Ì²é¿´ÃüÁî
ps
patree
5.shellϵͳµ÷ÓÃ
fork
wait
exec:¸´ÖƸ¸½ø³Ì,µÃµ½×Ó½ø³Ì,ÒÔнø³Ì×°Èë×Ó½ø³Ì
exit:ÔÚÈκÎÇé¿öÏÂÍ˳ö½ø³Ì,Í˳öʱ·¢³ösigchildÐźÅ,ÔÚ0-255Ö®¼ä,0Ϊ³É¹¦Í˳ö,·Ç0Ôò·¢ÉúÁËijЩ´íÎó.$?Ϊ×îºóÒ»¸ö¿ÉÖ´ÐÐÃüÁîÍ˳öʱµÄ״̬±äÁ¿
6.¼Ì³Ð
×Ó½ø³ÌÒª´Ó¸¸½ø³ÌÄÇÀï¼Ì³ÐºÜ¶à¶«Î÷:
6.1
ȨÏÞ:
***Óû§È¨ÏÞ:×îÖ÷ÒªµÄÊÇEUID,EGID¿ÉÒÔͨ¹ýsetuid,setgidÀ´ÐÞ¸Ä.
***ÎļþȨÏÞ:umask=022.¿ÉÒÔÓÉchmod,chownÀ´¸ü¸ÄÎļþȨÏÞºÍÊôÖ÷.
6.2
¹¤×÷Ŀ¼:×Ó½ø³ÌÓи÷×ԵŤ×÷Ŀ¼,ÇÒ¿ÉÒÔÓÃÄÚ²¿ÃüÁîcdÀ´¸ü¸Ä
6.3
±äÁ¿:
***»·¾³±äÁ¿:¸¸´«×Ó,×Ó´«Ëï.×Óshell¸Ä±ä»·¾³±äÁ¿Öµ,µ«²»»á´«»Ø¸ø¸¸shell
***¾Ö²¿±äÁ¿:˽ÓÐ,²»´«×ÓËï.
7.Öض¨ÏòºÍ¹ÜµÀ
7.1Îļþ˵Ã÷·û:
0±ê×¼ÊäÈë
1±ê×¼Êä³ö
2±ê×¼´íÎó
3Ò»¸öÐÂÎļþ
7.2Öض¨Ïò
>
<
>>
<<
7.3¹ÜµÀ:¹²ÏíµÄÄÚ´æÇø,Ò»±ßдһ±ß¶Á.ʡȥд»º³åÎļþµÄÂé·³.ÓÉpipeϵͳµ÷ÓÃʵÏÖ,²Ù×ݵÄÊÇÁ½¸ö¹ÜµÀ˵Ã÷·û.
8.ÐźÅ
shell¿ÉÒÔ¶ÔһЩ±ê×¼ÐźÅ×ö³öÖ¸¶¨µÄ´¦Àí.
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 51 ÌõÆÀÂÛ

  1. lingyang ÓÚ 2012-01-01 01:16:12·¢±í:

    {:3_116:}

  2. yishiwangle ÓÚ 2011-09-15 11:04:25·¢±í:

    дµÄ ͦ¼òµ¥¡£¡£¡£µ«ÊǾõµÃºÃÏñ²»È« ѽ

  3. welsonzeng ÓÚ 2011-09-08 15:37:19·¢±í:

    ×ܽáÐÔÖʵģ¬¹þ¹þ

  4. fire312923253 ÓÚ 2011-07-18 14:44:25·¢±í:

    ³¬¾«¼ò°¡

  5. lulingshao ÓÚ 2011-03-07 17:45:16·¢±í:

    ΪÁËÏÂÔØ£¬¶¥

  6. txgc_wm ÓÚ 2011-02-22 00:34:00·¢±í:

    ²»¶®£¬¶¥Ò»Ï£¡

  7. »¨¿ª»¨°Ü2011 ÓÚ 2011-02-12 17:14:48·¢±í:

    ÎÒ¶¥°¡

  8. wangtan471x ÓÚ 2011-01-15 13:00:22·¢±í:

    ûʵʵÔÚÔÚµÄÄÚÈÝ°¡£¡

  9. anmeany ÓÚ 2010-12-29 14:39:14·¢±í:

    ÄÚÈÝÓеãÚÀ

  10. killmichael ÓÚ 2010-05-24 19:30:51·¢±í:

    hao

  11. killmichael ÓÚ 2010-05-24 19:11:55·¢±í:

    dingqi

  12. register10 ÓÚ 2010-05-24 14:41:52·¢±í:

    Ì«ÉÙÁË£¬»¹²»Ïêϸ£¬¹À¼Æ×÷ÕßÁô×Å×Ô¼º¿´µÄ

  13. ·É»¢Ð¡°×Áú ÓÚ 2010-05-24 10:23:32·¢±í:

    ÓÐÖÖ±»Æ­µÄ¸Ð¾õ£¡

  14. zhenxi14 ÓÚ 2009-11-28 21:35:32·¢±í:

    Ï´θã¸ö¶àÒ»µã

  15. wenzq ÓÚ 2009-09-25 15:25:28·¢±í:

    дµÄ¼òµ¥µÄÈÃÈË¿´²»¶®

  16. js001sdx ÓÚ 2009-08-07 15:13:27·¢±í:

    ΪɶʲôҲ¿´²»µ½ÄØ

  17. andrea_lu ÓÚ 2009-07-13 16:57:10·¢±í:

    ¹àË®¹àË®

  18. andrea_lu ÓÚ 2009-07-13 16:56:26·¢±í:

    ¹àË®¹àË®

  19. andrea_lu ÓÚ 2009-07-13 16:55:37·¢±í:

    µ¹µÄ

  20. xlylinux ÓÚ 2009-07-10 15:46:57·¢±í:

    ¿´¿´

  21. baizx ÓÚ 2009-07-06 11:34:36·¢±í:

    {:3_108:}

  22. bbsytc ÓÚ 2009-07-05 14:10:21·¢±í:

    Ö§³ÖÏÂ

  23. lhh_cyy ÓÚ 2009-07-05 13:45:54·¢±í:

    {:2_97:}£¬Ï£Íû¿ÉÒÔ¼ÌÐøд£¬²»´í°¡£¡

  24. lihuachen ÓÚ 2009-06-29 17:50:15·¢±í:

    ding!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  25. ¹úÃñ¼Ö ÓÚ 2009-06-28 20:15:48·¢±í:

    д±Ê¼ÇÊÇÓкô¦£¡

  26. hange007 ÓÚ 2009-06-27 15:57:30·¢±í:

    ÕæÊǼòµ¥¡¢Ö±½Ó

  27. yeûÓÐÃû×Ö ÓÚ 2009-06-16 12:48:29·¢±í:

    ѧϰ

  28. yuandongchao_83 ÓÚ 2009-06-16 11:47:16·¢±í:

    û±ðµÄÖ»»á¶¨ÁË

  29. fankyxu ÓÚ 2009-06-15 22:03:15·¢±í:

    ¶¥ÄãÒ»ÏÂ~~~

  30. dingjing ÓÚ 2009-05-03 19:15:34·¢±í:

    :0w223dc

  31. atpccb ÓÚ 2009-05-02 11:35:46·¢±í:

    Õâ¾ÍÍêÁË£¬?

  32. wutbiao ÓÚ 2009-04-27 20:35:03·¢±í:

    ÄÄÓÐÁË£¿£¿ÄÄÓÐÁË¡¢¡¢£¿£¿
    ºÇºÇ£¬£¬Åå·þ£¡£¡£¡

  33. spoiler ÓÚ 2009-04-27 16:41:28·¢±í:

    Ì«´ÖÂÔ

  34. tengqiao ÓÚ 2009-04-27 11:27:53·¢±í:

    0:w(5(

  35. keke0 ÓÚ 2009-04-26 16:12:35·¢±í:

    ·Ç³£¸Ðл

  36. l460618498 ÓÚ 2009-04-26 13:25:20·¢±í:

    »¹ÊÇ°ïÄ㶨¹þ

  37. luckdai ÓÚ 2009-04-21 15:11:35·¢±í:

    ºÜ¼òµ¥£¬µ«ÊǺܾ­µä

  38. 5290 ÓÚ 2009-04-19 13:36:21·¢±í:

    ÒªÊÇÓÐÏñ shell±à³Ì1000ÀýÕâÑùµÄÊé¾ÍºÃÁË
    ÕýÔÚËÑÑ°ÖÐ ¡­¡­¡­¡­
    ÖÁ½ñûÓÐÕÒµ½
    ÓÐûÓÐÈËÄÜÍƼöÒ»¸öºÃЩµÄ

  39. 5290 ÓÚ 2009-04-19 13:36:18·¢±í:

    ÒªÊÇÓÐÏñ shell±à³Ì1000ÀýÕâÑùµÄÊé¾ÍºÃÁË
    ÕýÔÚËÑÑ°ÖÐ ¡­¡­¡­¡­
    ÖÁ½ñûÓÐÕÒµ½
    ÓÐûÓÐÈËÄÜÍƼöÒ»¸öºÃЩµÄ

  40. 218.107.141.* ÓÚ 2007-08-10 12:13:07·¢±í:

    GNU Make ÖÐÎÄÊÖ²á

    http://gnu.jinlab.com
    http://soft.jinlab.com
    ¾«ÁéʵÑéÊÒ