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

linux comm ÃüÁî½éÉÜ

 Èç¹ûÏëÔÚLinuxÃüÁîÐз½Ê½Ï£¬¶Ô2¸öÎı¾ÎļþµÄÄÚÈÝ×ö±È½Ï£¬ÕÒ³öͬʱ°üº¬ÔÚÕâ2¸öÎı¾ÎļþÖеÄÄÚÈÝ£¬¿ÉÒÔʹÓÃLinuxϵͳ´øµÄ¹¤¾ßcommÀ´´¦Àí£¬Ç°ÌáÊDZ»±È½ÏµÄ2¸öÎı¾ÎļþÒªÊÇÓÐÐòµÄ£¬¿ÉÒÔÏÈÓÃsort´¦Àíһϣ¬¾ßÌå²Ù×÷·½·¨ÈçÏ£º
ԭʼÎļþÈçÏ£º
a.txt
d
c
b
a
b.txt
g
f
b
a
ÅÅÐò´¦Àí
sort a.txt > a1.txt
sort b.txt > b1.txt
´¦Àí½á¹ûÎļþÈçÏ£º
a1.txt
a
b
c
d
b1.txt
a
b
f
g
±È½Ï´¦Àí
comm  a1.txt b1.txt
          a
          b
    f
    g
c
d
Êä³ö½á¹û°üÀ¨3ÁÐ ÆäÖеÚ3ÁÐÏÔʾµÄÊÇ2¸öÎļþÖж¼°üº¬µÄÄÚÈÝ¡£
µÚ1ÁÐÏÔʾֻ°üº¬ÔÚµÚÒ»¸öÎļþa.txtÖеÄ
µÚ2ÁÐÏÔʾֻ°üº¬ÔÚµÚ¶þ¸öÎļþb.txtÖеÄ
¿ÉÒÔͨ¹ý²ÎÊýÖ¸¶¨ÒªÏÔʾµÄÁÐ È磺
comm a1.txt b1.txt -12
a
b
-12  ±íʾ²»ÏÔʾµÚ1Áк͵Ú2ÁУ¬Ö»ÏÔʾµÚ3ÁÐ
-1 ²»ÏÔʾµÚ1ÁУ¬ÏÔʾµÚ2£¬3 ÁÐ
-13 ²»ÏÔʾµÚ1£¬3ÁУ¬ÏÔʾµÚ2ÁÐ


Ïà¹ØÎĵµ£º

ʵս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ÏÂOracleµÄ°²×°Ïêϸ²½Öè

 
1.       ϵͳÅäÖùý³Ì
2.1. oracle°²×°Ìõ¼þ¼ì²é
2.1.1.               Ó²¼þ¼ì²é
¼ì²éÓ²¼þÇé¿öÊÇ·ñ·ûºÏoracle 10g µÄ°²×°ÒªÇó¡£ÒÔrootµÇ¼ϵͳ£¬ÓÃϱíÃüÁîÊä³öµÄÖµÓ¦´óÓÚ»òµÈÓÚ½¨ÒéÖµ¡£
¼ì²éÏîÄ¿
ÃüÁî ......

Linux makefileÏê½â

 ³Âð© (CSDN)
¸ÅÊö
——
ʲôÊÇmakefile£¿»òÐíºÜ¶àWinodwsµÄ³ÌÐòÔ±¶¼²»ÖªµÀÕâ¸ö¶«Î÷£¬ÒòΪÄÇЩWindowsµÄIDE¶¼ÎªÄã×öÁËÕâ¸ö¹¤×÷£¬µ«ÎÒ¾õµÃÒª×÷Ò»¸öºÃµÄºÍprofessionalµÄ³ÌÐòÔ±£¬makefile»¹ÊÇÒª¶®¡£Õâ¾ÍºÃÏñÏÖÔÚÓÐÕâô¶àµÄHTMLµÄ±à¼­Æ÷£¬µ«Èç¹ûÄãÏë³ÉΪһ¸öרҵÈËÊ¿£¬Ä㻹ÊÇÒªÁ˽âHTMLµÄ±êʶµÄº¬Òå¡£ÌرðÔÚ ......

LINUX³£ÓÃÃüÁ»ù´¡£©

 



LINUX³£ÓÃÃüÁ»ù´¡£©
1. man ¶ÔÄãÊìϤ»ò²»ÊìϤµÄÃüÁîÌṩ°ïÖú½âÊÍ
eg:man ls ¾Í¿ÉÒԲ鿴lsÏà¹ØµÄÓ÷¨
×¢£º°´q¼ü»òÕßctrl+cÍ˳ö£¬ÔÚlinuxÏ¿ÉÒÔʹÓÃctrl+cÖÕÖ¹µ±Ç°³ÌÐòÔËÐС£
2. ls ²é¿´Ä¿Â¼»òÕßÎļþµÄÊô*£¬ÁоٳöÈÎһĿ¼ÏÂÃæµÄÎļþ
eg: ls /usr/man
ls -l
a.d±íʾĿ¼(directory)£¬È ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ