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

Linux sort ÃüÁîÏê½â

Linux sort ÃüÁîÏê½â
2007-06-23 02:34
Óï·¨¸ñʽ
sort [ -A ] [ -b ] [ -c ] [ -d ] [ -f ] [ -i ] [ -m] [ -n ] [ -r ] [ -u ] [ -o OutFile ]
[ -t Character ] [ -T Directory ] [ -y [ Kilobytes ] ] [ -z RecordSize ] [ [ + [ FSkip ]
[ .CSkip ] [ b ] [ d ] [ f ] [ i ] [ n ] [ r ] ] [ - [ FSkip ] [ .CSkip ] [ b ] [ d ] [ f ]
[ i ] [ n ] [ r ] ] ] [ -k KeyDefinition ] [Îļþ ]
ʹÓÃ˵Ã÷
sort ÃüÁî¶Ô File ²ÎÊýÖ¸¶¨µÄÎļþÖеÄÐÐÅÅÐò£¬²¢½«½á¹ûдµ½±ê×¼Êä³ö¡£Èç¹û File ²ÎÊýÖ¸¶¨¶à¸öÎļþ£¬
ÄÇô sort ÃüÁÕâЩÎļþÁ¬½ÓÆðÀ´£¬²¢µ±×÷Ò»¸öÎļþ½øÐÐÅÅÐò¡£-£¨¼õºÅ£©´úÌæÎļþÃûÖ¸¶¨±ê×¼ÊäÈë¡£
Èç¹ûÄú²»Ö¸¶¨ÈκÎÎļþÃû£¬ÄÇô¸ÃÃüÁî¶Ô±ê×¼ÊäÈëÅÅÐò¡£¿ÉÒÔʹÓà -o ±êÖ¾Ö¸¶¨Êä³öÎļþ¡£
Èç¹û²»Ö¸¶¨ÈκαêÖ¾£¬sort ÃüÁî»ùÓÚµ±Ç°ÓïÑÔ»·¾³µÄÕûÀí˳Ðò¶ÔÊäÈëÎļþµÄËùÓÐÐÐÅÅÐò¡£
Ö÷Òª²ÎÊý
-A ʹÓà ASCII ÕûÀí˳Ðò´úÌ浱ǰÓïÑÔ»·¾³µÄÕûÀí˳ÐòÔÚÖð×ֽڵĻù´¡ÉÏÅÅÐò¡£
-b ºöÂÔÇ°µ¼¿Õ¸ñºÍÖƱí·û£¬ÕÒ³ö×ֶεĵÚÒ»»ò×îºóÁС£
-c ¼ì²éÊäÈëÊÇ·ñÒÑ°´ÕÕ±êÖ¾ÖÐÖ¸¶¨µÄÅÅÐò¹æÔò½øÐÐÅÅÐò¡£Èç¹ûÊäÈëÎļþÅÅÐò²»ÕýÈ·£¬¾Í·µ»ØÒ»¸ö·ÇÁãÖµ¡£
-d ʹÓÃ×Öµä˳ÐòÅÅÐò¡£±È½ÏÖнö¿¼ÂÇ×Öĸ¡¢Êý×ֺͿոñ¡£
-f ±È½ÏÇ°½«ËùÓÐСд×Öĸ¸Ä³É´óд×Öĸ¡£
-i ±È½ÏÖкöÂÔËùÓзÇÏÔʾ×Ö·û¡£
-k KeyDefinition Ö¸¶¨ÅÅÐò¹Ø¼ü×Ö¡£KeyDefinition Ñ¡ÏîµÄ¸ñʽΪ£º
[ FStart [ .CStart ] ] [ Modifier ] [ , [ FEnd [ .CEnd ] ][ Modifier ] ]
ÅÅÐò¹Ø¼ü×Ö°üÀ¨ËùÓÐÒÔ FStart ±äÁ¿Ö¸¶¨µÄ×Ö¶ÎºÍ CStart ±äÁ¿Ö¸¶¨µÄÁпªÍ·µÄ×Ö·û¼°ÒÔ FEnd ±äÁ¿Ö¸¶¨µÄ×ֶκÍ
CEnd ±äÁ¿Ö¸¶¨µÄÁнáÊøµÄ×Ö·û¡£Modifier ±äÁ¿µÄÖµ¿ÉÒÔÊÇ b¡¢d¡¢f¡¢i¡¢n »ò r¡£ÐÞÊηûÓëͬһ×ÖĸµÄ±êÖ¾µÈ¼Û¡£
-m Ö»ºÏ²¢¶à¸öÊäÈëÎļþ£»¼ÙÉèÊäÈëÎļþÒѾ­ÅÅÐò¡£
-n °´ËãÊõÖµ¶ÔÊý×Ö×Ö¶ÎÅÅÐò¡£Êý×Ö×ֶοɰüº¬Ç°µ¼¿Õ¸ñ¡¢¿ÉÑ¡¼õºÅ¡¢Ê®½øÖÆÊý×Ö¡¢Ç§·Öλ·Ö¸ô·ûºÍ¿ÉÑ¡»ùÊý·û¡£
¶Ô°üº¬ÈκηÇÊý×Ö×Ö·ûµÄ×ֶνøÐÐÊý×ÖÅÅÐò»á³öÏÖÎÞ·¨Ô¤ÖªµÄ½á¹û¡£
-o OutFile ½«Êä³öÖ¸Ïò OutFile ²ÎÊýÖ¸¶¨µÄÎļþ£¬¶ø²»ÊDZê×¼Êä³ö¡£OutFile ²ÎÊýÖµ¿ÉÒÔÓë File ²ÎÊýÖµÏàͬ¡£
-r µßµ¹Ö¸¶¨ÅÅÐòµÄ˳Ðò¡£
-t Character Ö¸¶¨ Character Ϊµ¥Ò»µÄ×ֶηָô·û¡£
-u ½ûÖ¹°´ÕÕÅÅÐò¹Ø¼ü×ÖºÍÑ¡ÏîµÄËùÓеÈͬÅÅÐò£¨Ã¿Ò»×éÐÐÖÐÒ»ÐгýÍ⣩¡£
-T Directory ½«´´½¨µÄËùÓÐÁÙʱÎļþ·ÅÈë Directory ²ÎÊýÖ¸¶¨µÄĿ¼ÖС£
-y[Kilobytes] Óà Kilobytes ²Î


Ïà¹ØÎĵµ£º

ʵս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 Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

Linux fopenº¯Êý statº¯Êý

   1.
     ½ñÌìÉÏ°à×·Á˸öÎÊÌ⣬׷ÁË°ëÌì·¢ÏÖÊÇfopen´ò¿ª´óÓÚ2GµÄÎļþÓÐÎÊÌâ¡£
ÂíÉÏGoogleÏ£¬×ö¸ö±Ê¼Ç£º
  //   ¶¨Òåºê£¬Ê¹µÃ¿ÉÒÔ´¦Àí´óÎļþ£¨>4GB£©  
  #undef   _FILE_OFFSET_BITS  
  #define   _FILE_OFFSET_BITS   64 &nb ......

LinuxÏÂVNC ServerµÄÅäÖùý³Ì

ÅäÖùý³Ì£º
1. ÔËÐÐVNC Server.
[root@localhost ~]#vncserver
¿´µ½³É¹¦ÌáʾÐÅÏ¢£º
You will require a password to access your desktops.
Password:          ----˵Ã÷£ºÎª°²È«Æð¼û£¬µ±µÚ1´ÎÆô¶¯VNC Serverʱ£¬»áÒªÇóÉèÖÃÔ¶³ÌÁ¬½ÓʱµÄÃÜÂë¡£
Verify:
New ‘X&r ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ