Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Linux ÐźÅ(¼òÂԱʼÇ)

    Ò»¡¢¸ÅÒª
      Ïêϸ½éÉÜ£ºhttp://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html
       ÐźÅÊÇUNIXºÍLinuxϵͳÏìÓ¦½áÌõ¼þ¶ø²úÉúµÄÒ»¸öʼþ¡£½ÓÊÕµ½ÐźŵĽø³Ì»áÏàÓ¦µØ²ÉȡһЩÐж¯¡£
    £¨1£© ÔÚϵͳÖÕ¶ËÏÂÊäÈëÃüÃû: kill -l »ò trap -l ¿ÉÒԲ鿴ϵͳËùÖ§³ÖµÄÐźţ¡
    £¨2£© ÐźűàºÅ1-32 ÊÇÔçÆÚµÄÐźţ¬ÊDz»¿É¿¿Ðźţ¬ÐźÅÔÚÒ»¶¨Ìõ¼þÏ»ᶪʧ£»
    £¨3£© ÐźűàºÅ33ÒÔÉÏÊǺóÆÚ°æϵͳ±¾³öÏֵģ¬ÊÇ¿É¿¿Ðźš£ÐźÅÉú³Éʱ£¬½ø³ÌÏìÓ¦»¹Î´½áÊø£¬½«×Ô¶¯ÅŶӵȴýÏìÓ¦¡£
    £¨4£© ÐźŠ9 SIGKILL   ºÍ ÐźŠ19 SIGSTOP  ÕâÁ½¸öÐźŲ»¿ÉÒÔ±»²¶»ñ»òºöÂÔ¡£
 
 
 
    ¶þ¡¢ º¯Êý½éÉÜ:
    Í·Îļþ£º signal.h
 
   1.  Ðźż¯´¦Àí:
       sigfillset(sigset_t *set); ÉèÖÃËùÓеÄÐźŵ½setÐźż¯ÖУ»
       sigemptyset(sigset_t *set); ´ÓsetÐźż¯ÖÐÇå¿ÕËùÓÐÐźţ»
      sigaddset(sigset_t *set,int sig);ÔÚsetÐźż¯ÖмÓÈësigÐźţ»
      sigdelset(sigset_t *set,int sig);ÔÚsetÐźż¯ÖÐɾ³ýsigÐźţ»
 
   2. ÐźŴ¦Àíº¯Êý
       £¨1£©´«Í³µÄÐźŴ¦Àí½Ó¿Ú£º void (*signal(int sig, void (*func)(int )))(int),
        ÒòΪ¿É¿¿ÐźŵijöÏÖÖØй淶Á˽¡×³µÄÐźŽӿڣºint sigaction(int sig,const struct sigaction  *act,struct sigaction *oldact)£»
        ¹ØÓڽṹÌå struct sigaction £¬²éѯ man ÊÖ²á;
        struct sigaction ³ÉÔ±:
         sa_hanlder ºÍ sa_sigaction  Ö¸ÏòÐźŴ¦Àíº¯ÊýµÄÖ¸Õ룬ֻÄܶ¨ÒåÆäÖÐÒ»¸ö£¬Á½¸ö¶¼¶¨ÒåµÄ»°£¬½«Ö´ÐÐsa_handlerÖ¸ÏòµÄº¯Êý;ÆäÖпÉÒÔÖ¸Ïòºê¶¨Òå SIG_IGN£¨ºöÂÔÐźţ© ºÍ SIG_DFL£¨ÐźÅĬÈÏÐÐΪ£©£»
 
       sa_mas


Ïà¹ØÎĵµ£º

linux >FtP

LinuxÏÂÒ»°ã×î³£ÓõŤ¾ßwu-ftpd.
wu-ftpdµÄ°²×°·Ç³£ÈÝÒ×£¬´ó¶àÊý°æ±¾µÄLinuxÖж¼°üº¬ÁËwu-ftpdµÄrpmÈí¼þ°ü£¬Äã¿ÉÒÔÔÚ°²×°Linuxʱָ¶¨×°Èë¡£Èç¹ûÄãÏë×ÔÐбàÒëÔ´´úÂ룬Ҳ¿ÉÒÔµ½ftp://ftp.wu-ftpd.orgÏÂÔØ×îа汾µÄÔ´´úÂë°ü¡£ 
°²×°ºÃÒԺ󣬿ÉÒÔÓÃckconfigÃüÁîÀ´¼ì²éÊÇ·ñÒѾ­ÕýÈ·°²×°¡£ÔÚ/etc/passwdÖпÉÒÔÖ¸¶¨ftpÓ ......

¹ØÓÚlinux»·¾³±äÁ¿Îļþ

/etc/profile:´ËÎļþΪϵͳµÄÿ¸öÓû§ÉèÖû·¾³ÐÅÏ¢,µ±Óû§µÚÒ»´ÎµÇ¼ʱ,¸ÃÎļþ±»Ö´ÐÐ.²¢´Ó/etc/profile.dĿ¼µÄÅäÖÃÎļþÖÐËѼ¯shellµÄÉèÖÃ.
/etc/bashrc:Ϊÿһ¸öÔËÐÐbash shellµÄÓû§Ö´ÐдËÎļþ.µ±bash shell±»´ò¿ªÊ±,¸ÃÎļþ±»¶ÁÈ¡.
~/.bash_profile:ÿ¸öÓû§¶¼¿ÉʹÓøÃÎļþÊäÈëרÓÃÓÚ×Ô¼ºÊ¹ÓõÄshellÐÅÏ¢,µ±Óû§µÇ¼ʱ, ......

linuxϵÄvivi¡¢Äںˡ¢rootµÄ°²×°²½ÖèÓë²âÊÔ

ÉÕд2410£­S linux ²Ù×÷ϵͳ£º
ÔÚwindows xpϽøÐУ¬ÐèÒªµÄÎļþÔÚ¹âÅÌÖеÄimgĿ¼ºÍflashviviĿ¼ÏÂÌṩ¡£
ÉÕд2410£­S linux ²Ù×÷ϵͳ°üÀ¨ÉÕдvivi,kernel,rootÈý¸ö²½Ö裬³ý´ËÎÒÃÇ»¹ÒªÉÕдyaffs.tar£¬ÕâËĸöÎļþÔÚimgĿ¼ÖС£
vivi ----linux²Ù×÷ϵͳÆô¶¯µÄbootloader;     
zImage----linu ......

Linux/Ubuntu chmodÃüÁîÏê½âʹÓøñʽºÍ·½·¨

ÔÚ Ubuntu Linux ÖÐÓÃÔ´ÂëÎļþ°²×°Èí¼þ
ʱ¾­³£¶¼»áÓõ½chmod
ÃüÁîÀ´¸ü¸ÄÎļþµÄȨÏÞʹÆäÔÚ°²×°Ê±ÓÐÖ´ÐеÄȨÏÞ¡£ÓÉÓÚ Ubuntu Linux ĬÈϲ»ÄÜÓÃrootÕË»§À´µÇ¼ËùÒÔÔÚÓÃchmodÃüÁîÀ´¸ü¸ÄÎļþµÄȨÏÞʱÍùÍùÐèÒª½áºÏsudoÃüÁîÀ´Ê¹Óã¬Èç¹ûÄã¶ÔsudoÃüÁ²»Ì«Á˽⣬ÇëÏÈ¿´¿´±¾Õ¾µÄ¡¶sudoÃüÁîÏê½â¡·
chmod
Linux/Ubuntu
ϵͳÖÐÎÄ ......

LinuxÏÂrz/sz°²×°¼°Ê¹Ó÷½·¨

1)    ¹¤¾ß˵Ã÷
ÔÚSecureCRTÕâÑùµÄsshµÇ¼Èí¼þÀï, ͨ¹ýÔÚLinux½çÃæÀïÊäÈërz/szÃüÁîÀ´ÉÏ´«/ÏÂÔØÎļþ. ¶ÔÓÚRHEL5, rz/szĬÈÏûÓа²×°ËùÒÔÐèÒªÊÖ¹¤°²×°.
sz: ½«Ñ¡¶¨µÄÎļþ·¢ËÍ(send)µ½±¾µØ»úÆ÷;
rz£ºÔËÐиÃÃüÁî»áµ¯³öÒ»¸öÎļþÑ¡Ôñ´°¿Ú, ´Ó±¾µØÑ¡ÔñÎļþÉÏ´«µ½·þÎñÆ÷(receive).
ÏÂÔØ°²×°°ülrzsz-0.12.20.tar. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ