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

Linux Shell±Ê¼Ç £¨Ò»£©

1¡¢±äÁ¿ºÍÔËËã  (×¢£º´ÓÉÏÍùÏÂÒ»²½Ò»²½Ö´ÐÐ)
   1.±¾µØ±äÁ¿ÔÚÓû§ÏÖÔÚµÄshellÉúÃüÆڵĽű¾ÖÐʹÓÃ
   variable-name=value ÀýÈ磺test="test"
 
   2.setÏÔʾ±¾µØËùÓеıäÁ¿
   3.Éè³ÉÖ»¶Á±äÁ¿£ºreadonly variable-name ÀýÈ磺test="cynric" »á³ö´í
     readonlyÃüÁî¿ÉÒԲ鿴ËùÓеÄÖ»¶Á±äÁ¿
   4.±äÁ¿Ìæ»»
    ${Variable name}        ÏÔʾʵ¼ÊÖµµ½variable name
    ${Variable name:+value}        Èç¹ûÉèÖÃÁËvariable name,ÔòÏÔʾvalue£¬·ñÔòΪ¿Õ
        ÀýÈ磺echo ${test:+"abcd"}   ÏÔʾabcd
          echo ${cywosp:+"abcd"} ÏÔʾΪ¿Õ
    ${Variable name:?value}        Èç¹ûδÉèÖÃvariable name,ÏÔʾÓû§¶¨ÒåµÄ´íÎóÐÅÏ¢value
        ÀýÈ磺echo ${cywosp:?"no defined"} ÏÔʾno defined
          echo ${test:?"no defined"}   ÏÔʾtest
    ${Variable name:-value}        Èç¹ûδÉèÖÃvariable name,ÔòÏÔʾÆäÖµvalue
        ÀýÈ磺echo ${cywosp:-"no defined"} ÏÔʾno defined
          echo ${test:-"no defined"}   ÏÔʾtest
    ${Variable name:=value}        Èç¹ûδÉèÖÃVarible name,Ôò½«ÆäÖµ¸³Îªvalue²¢ÏÔʾ
        ÀýÈ磺echo ${cywosp:="cywosp"}     ÏÔʾcywosp
          echo ${test:="test"}           ÏÔʾtest
   5¡¢±äÁ¿µÄÇå³ý
    unset variable-name ÀýÈ磺unset cywosp
    ×¢£ºreadonlyµÄ±äÁ¿²»ÄÜunset£¬ËùÒÔreadonlyÒª½÷É


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

ÔÚLinuxÏÂÐ޸Ļ·¾³±äÁ¿PATH

source file :
http://hi.baidu.com/neugraduzyq/blog/item/5602432f6a1a755a4ec22666.html
ÎÒÏëÔÚPATHϼÓÒ»¸ö/tools/binµÄ·¾¶ÓÃexport PATH=$PATH:/tools/binºóÓ¦¸ÃÊǼÓÉÏÈ¥ÁË£¬µ«ÊÇÓà echo $PATH »¹ÊÇÏÔʾµÄÔ­À´µÄ$PATH±äÁ¿µÄÖµ£¬¸Ð¾õÓÃexport PATH=$PATH:/tools/binÖ»ÊÇÔÚÔ­À´µÄ$PATH±äÁ¿ºó¼ÓÁËÒ»¸ö·¾¶µ½µ±Ç°µ ......

ÓÖÒ»´Î±»linuxµÄ¹¤¾ßÕð¾ªÁË

    ǰһƪ²©¿Í»¹Ð´ÁË×Ô¼ºÐ´µÄ¶Ë¿Úת·¢¹¤¾ß£¬½ñÌìżȻÔÚÍøÉÏ¿´µ½½²ÃüÃû¹ÜµÀºÍnetcatÅäºÏµÄÓ÷¨£¬±»³¹µ×À×µ¹ÁË¡£
    Ô­À´ÒÔΪnetcat×ö²»µ½£¬Ô­À´ÊÇ×Ô¼ºÏë²»µ½£¬¶ø²»ÊÇnetcat×ö²»µ½……
    ·½·¨ÈçÏ£º
    $ mknod backpipe p
  &n ......

дµÃÂùºÃµÄlinuxѧϰ±Ê¼Ç

дµÃÂùºÃµÄlinuxѧϰ±Ê¼Ç
linuxĿ¼¼Ü¹¹
/   ¸ùĿ¼
/bin    ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot   ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ
     /boot/grub/menu.lst   GRUBÉèÖÃ
     /boot/vmlinuz& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ