Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

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

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

¼¸¸öLinuxʵÓóÌÐò

1. useradd Óû§Ãû
useraddÃüÁÔðÌí¼ÓÓû§µ½Linuxϵͳ£¨Ö»ÓйÜÀíÔ±¿ÉÒÔʹÓÃÕâ¸öÃüÁ¡£
Àý£º
useradd tom
2.userdel Óû§Ãû
userdelÃüÁîɾ³ýÒ»¸öÓû§ÕË»§£¨Ö»ÓйÜÀíÔ±¿ÉÒÔʹÓÃÕâ¸öÃüÁ¡£
Àý£º
userdel tom
3.passwd Óû§Ãû
µ±´´½¨Ò»¸öÓû§Ö®ºóÐèҪΪÓû§ÉèÖÃÃÜÂ룬passwd ¿ÉÒÔÍê³É´Ë¹¦ÄÜ¡£µ±passwdºóÃæÃ»ÓвΠ......

Linux±ØÑ§µÄ60¸öÃüÁî

Linux±ØÑ§µÄ60¸öÃüÁî
LinuxÌṩÁË´óÁ¿µÄÃüÁÀûÓÃËü¿ÉÒÔÓÐЧµØÍê³É´óÁ¿µÄ¹¤×÷£¬Èç´ÅÅ̲Ù×÷¡¢Îļþ´æÈ¡¡¢Ä¿Â¼²Ù×÷¡¢½ø³Ì¹ÜÀí¡¢ÎļþȨÏÞÉ趨µÈ¡£ËùÒÔ£¬ÔÚLinuxϵͳÉϹ¤×÷Àë²»¿ªÊ¹ÓÃϵͳÌṩµÄÃüÁî¡£ÒªÏëÕæÕýÀí½âLinuxϵͳ£¬¾Í±ØÐë´ÓLinuxÃüÁîѧÆð£¬Í¨¹ý»ù´¡µÄÃüÁîѧϰ¿ÉÒÔ½øÒ»²½Àí½âLinuxϵͳ¡£²»Í¬Linux·¢ÐаæµÄÃüÁîÊýÁ¿²»Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ