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

±àдǶÈëʽLinuxÓ¦ÓòãÇý¶¯³ÌÐò

ÔÚÑо¿Ä³Ò»Ñù¶«Î÷µÄʱºò£¬Æäʵ×îÖØÒªµÄÒ»µã¾ÍÊÇÁ˽âÇå³þËüµÄ×÷Óã¬Ëü¶Ô×Ô¼ºÓÐûÓÐÓã¬ÒÔÇ°¸Õ¸Õ½øÈë´óѧµÄʱºò×ÜÊÇÌýijijʦÐÖʦ½ãÔÚ½²Ä³¸ö¿Î³ÌûɶÓ㬲»ÓÃÈÏÕæѧ£¬½á¹û×Ô¼ºÓÐʱºòÒ²°ÑijЩÈ˵ÄijЩ»°µ±ÕæÁË£¬ÔÙ½á¹ûÎÒÔÚѧϰijЩ¿Î³ÌµÄʱºò¾Íû°ÑËüµ±»ØÊ£¬×ÜÈÏΪÒÔºóûʲôÓ㬵ȵ½×Ô¼º´óËÄʱ²ÅÖªµÀÄÇЩ¸öËùνµÄʦÐÖʦ½ãÃǵÄÄÔ´ü¶¼ÊDZ»Â¿¸øÌß¹ýµÄ£¬µ±·¢ÏÖ×îÖصĶ«Î÷×Ô¼ºÔø¾­ÊÓΪÎÞÓÃʱ£¬ÎªÊ±ÍíÒ²…ËùÒÔÔڴ˽¨Òé¶ÁÕßÒÔºó¸ãÈκζ«Î÷Ç°¶¼ÏÈÁ˽âËüµÄÓô¦£¬¶Ô×Ô¼ºÓÐûÓÐÓá£Èç¹ûÕæµÄÊÇûÓÐÓõĶ«Î÷£¬Óֺαػ¨·Ñʱ¼äÔÚÕâÉÏÃ棬»¹²»ÈçÈ¥µ±¹«ÎñÔ±ÄØ¡£
Ò»£®             ΪʲôÎÒÃÇÓÐʱ»áÔÚÄں˼¶×ödriver£¿ÓÐʱȴÔÚÓ¦Óòã×ödriver£¿
ÈÃÎÒÃÇÒ»ÆðÀ´¿´¡¶linux device driver¡·ÈçºÎ»Ø´ðÎÒÃǵġ£
Ò»¸öµÚÒ»´ÎÉæ¼°ÄÚºËÎÊÌâµÄ Unix ³ÌÐòÔ±, ¿ÉÄÜ»á½ôÕÅдһ¸öÄ£¿é. ±àдһ¸öÓû§³ÌÐòÀ´Ö±½Ó¶ÁдÉ豸¶Ë¿Ú¿ÉÄÜÈÝÒ×Щ.
ȷʵ, Óм¸¸öÂÛ¾ÝÇãÏòÓÚÓû§¿Õ¼ä±à³Ì, ÓÐʱ±àдһ¸öËùνµÄÓû§¿Õ¼äÉ豸Çý¶¯¶Ô±È×êÑÐÄÚºËÊÇÒ»¸öÃ÷ÖǵÄÑ¡Ôñ. ÔÚ±¾½Ú, ÎÒÃÇÌÖÂÛ¼¸¸öÀíÓÉ, ΪʲôÄã¿ÉÄÜÔÚÓû§¿Õ¼ä±àдÇý¶¯. ±¾ÊéÊǹØÓÚÄں˿ռäÇý¶¯µÄ, µ«ÊÇ, ËùÒÔÎÒÃDz»³¬Ô½Õâ¸ö½éÉÜÐÔµÄÌÖÂÛ.
Óû§¿Õ¼äÇý¶¯µÄºÃ´¦ÔÚÓÚ:
·         ÍêÕûµÄ C ¿â¿ÉÒÔÁ¬½Ó. Çý¶¯¿ÉÒÔ½øÐÐÐí¶àÆæ¹ÖµÄÈÎÎñ, ²»ÓÃÒÀ¿¿ÍâÃæµÄ³ÌÐò(ʵÏÖʹÓòßÂԵŤ¾ß³ÌÐò, ³£³£Ëæ×ÅÇý¶¯×ÔÉí·¢²¼).
·         ³ÌÐòÔ±¿ÉÒÔÔÚÇý¶¯´úÂëÉÏÔËÐг£Óõĵ÷ÊÔÆ÷, ¶ø²»±Ø×ßµ÷ÊÔÒ»¸öÔËÐÐÖеÄÄں˵ÄÍä·.
·         Èç¹ûÒ»¸öÓû§¿Õ¼äÇý¶¯¹ÒÆðÁË, Äã¿É¼òµ¥µØɱµôËü. Çý¶¯µÄÎÊÌâ²»¿ÉÄܹÒÆðÕû¸öϵͳ, ³ý·Ç±»¿ØÖƵÄÓ²¼þÕæµÄ·èµôÁË.
·         Óû§ÄÚ´æÊǿɽ»»»µÄ, ²»ÏóÄÚºËÄÚ´æ. Ò»¸ö²»³£Ê¹ÓõÄÈ´ÓкܴóÒ»¸öÇý¶¯µÄÉ豸²»»áÕ¼¾Ý±ðµÄ³ÌÐò¿ÉÒÔÓõ½µÄ RAM, ³ýÁËÔÚËüʵ¼ÊÔÚÓÃʱ.
·         Ò»¸ö¾«ÐÄÉè¼ÆµÄÇý¶¯³ÌÐòÈÔÈ»¿ÉÒÔ, ÈçͬÄں˿ռäÇý¶¯, ÔÊÐí¶ÔÉ豸µÄ²¢ÐдæÈ¡.
·         Èç¹ûÄã±ØÐë±àдһ¸ö·â±ÕÔ´ÂëµÄÇý¶¯, Óû§¿Õ¼äµÄÑ¡ÏîʹÄãÈÝÒ×±ÜÃâ²»Ã÷ÀʵÄÐí¿ÉµÄÇé¿öºÍ¸Ä±äµÄÄں˽ӿڴøÀ´µÄÎÊ


Ïà¹ØÎĵµ£º

Linux±à³Ì:getopt_long¼°ÆäʹÓÃ

LinuxϵͳÏ£¬ÐèÒª´óÁ¿µÄÃüÁîÐÐÑ¡ÏÈç¹û×Ô¼ºÊÖ¶¯½âÎöËûÃǵĻ°ÊµÔÚÊÇÓÐÎ¥Èí¼þ¸´ÓõÄ˼Ï룬²»¹ý»¹ºÃ£¬GNU C libraryÁô¸øÎÒÃÇÒ»¸ö½âÎöÃüÁîÐеĽӿÚ(X/Open¹æ·¶)£¬ºÃºÃʹÓÃËü¿ÉÒÔʹÄãµÄ³ÌÐò¸Ä¹Û²»ÉÙ¡£
ʹÓÃgetopt_long()ÐèÒªÒýÈëÍ·Îļþ
#include <getopt.h>
     ÏÖÔÚÎÒÃÇʹÓÃÒ»¸öÀý×ÓÀ´ËµÃ÷Ëü ......

linux trap

trap [-lp] [arg] [sigspec ...] µ± shell ÊÕµ½ÐźŠsigspec ʱ£¬ÃüÁî arg ½«±»¶ÁÈ¡²¢Ö´ÐС£Èç¹ûûÓиø³ö arg »òÕ߸ø³öµÄÊÇ -, ËùÓÐÖ¸¶¨µÄÐźű»ÉèÖÃΪËüÃǵijõʼֵ (½øÈë shell ʱËüÃǵÄÖµ)¡£Èç¹û arg ÊÇ¿Õ×Ö·û´®£¬ sigspec Ö¸¶¨µÄÐźű» shell ºÍËüÆô¶¯µÄÃüÁîºöÂÔ¡£Èç¹û arg ²»´æÔÚ£¬²¢ÇÒ¸ø³öÁË -p ÄÇôÓëÿ¸ö sigspec ......

ǶÈëʽLinux²Ù×÷ϵͳѧϰ¹æ»®

ǶÈëʽLinux²Ù×÷ϵͳѧϰ¹æ»®
ARM+LINUX·Ïߣ¬Ö÷¹¥Ç¶ÈëʽLinux²Ù×÷ϵͳ¼°ÆäÉÏÓ¦ÓÃÈí¼þ¿ª·¢Ä¿±ê£º 
£¨1£© ÕÆÎÕÖ÷Á÷ǶÈëʽ΢´¦ÀíÆ÷µÄ½á¹¹ÓëÔ­Àí£¨³õ²½¶¨Îªarm9£© 
£¨2£© ±ØÐëÕÆÎÕÒ»¸öǶÈëʽ²Ù×÷ϵͳ £¨³õ²½¶¨Îªuclinux»òlinux,°æ±¾´ý¶¨£© 
£¨3£© ±ØÐëÊìϤǶÈëʽÈí¼þ¿ª·¢Á÷³Ì²¢ÖÁÉÙ×öÒ ......

linuxÄں˵ÄһЩԤ¶¨Òå

ËùÓеÄÄں˴úÂ룬»ù±¾¶¼°üº¬ÁËlinux\compile.hÕâ¸öÎļþ£¬ËùÒÔËüÊÇ»ù´¡£¬´òËãÏÈ·ÖÎöÕâ¸öÎļþÀïµÄ´úÂë¿´¿´£¬ÓпÕÔÙ·ÖÎö·ÖÎöÆäËüµÄ´úÂë¡£
Ê×ÏÈÓ¡ÈëÑÛÁ±µÄÊǶÔ__ASSEMBLY__Õâ¸öºêµÄÅжϣ¬Õâ¸ö±äÁ¿Êµ¼ÊÊÇÔÚ±àÒë»ã±à´úÂëµÄʱºò£¬ÓɱàÒëÆ÷ʹÓÃ-DÕâÑùµÄ²ÎÊý¼Ó½øÈ¥ µÄ£¬AFLAGSÕâ¸ö±äÁ¿Ò²¶¨ÒåÁËÕâ¸ö±äÁ¿£¬gcc»á°ÑÕâ¸öºê¶¨ÒåΪ1¡£ÓÃÔÚ ......

Linux Shell ÃüÁî ¼ò½é

°²×°openssh ·þÎñ¶Ë
sudo apt-get install openssh-server openssh-client
 
windows Ï¿ͻ§¶Ë
puTTY
  
 
³£ÓÃÃüÁî:
 
Ò»£®Ls ²é¿´Ä¿Â¼ÃüÁî
Ò»°ã·ÅÔÚhome Ŀ¼ÏÂ
Ls –l /  ¸ùĿ¼ÏµÄÁбí
Ls –a /  ¸ùĿ¼ÏÂËùÓеÄÎļþ
Ls –la  ×éºÏµÄÑ¡Ïî
Ls &n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ