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

¹È¸èChrome OS³å»÷Linux×ÀÃæ

 




<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->

        ·¢Õ¹
Linux
µÄ×îÖÕÄ¿µÄÊÇ´ø¸øÈËÃÇÒ»¸öÍêÃÀµÄ×ÀÃ棨
Desktop
£©
,
ÓÃÓÚ¹¤×÷ºÍÓéÀÖ£¬ÆäÓàÊÂÇ鶼ÊǵڶþλµÄ¡£Õ⻰˵µÃÓеã¾ø¶Ô£¬µ«ÊÇ£¬ÏÖÔÚ²»µÃ²»Õâô˵¡£ÎªÊ²Ã´£¿
&n ......

LinuxÖÕÖ¹½ø³Ì

from: http://www.linuxeden.com/html/develop/20090702/66531.html
bashÅжϽø³Ì´æÔÚµÄ3ÖÖ·½·¨
1¡¢ps -p
ps -p ¸ù¾Ý¸ø¶¨µÄpid²ÎÊýÅжÏÊÇ·ñÓÐÕâ¸ö½ø³Ì¡£
Èç¹ûÓÐÕâ¸ö½ø³ÌÕý³£Í˳ö£¬Í˳öÖµ0£»
Èç¹ûûÓÐÕâ¸ö½ø³ÌÒì³£Í˳ö£¬Í˳öÖµ1¡£
apple@ubuntu:~$ ps -p 2442
  PID TTY         ......

LinuxÏÂUSBÉãÏñÍ·Çý¶¯¿ª·¢(ת)

 http://blog.csdn.net/youta_chen/archive/2007/08/29/1763215.aspx
½ñÄêÉÏ°ëÄêÎÒ¶ÔÊг¡³£¼ûµÄvimicro ÉãÏñÍ·ÒÆÖ²ÁËLinuxϵÄÇý¶¯ÖÁÔÚÑеÄÒ»¿îǶÈëʽ¿ª·¢°å£¬¿ª·¢»·¾³Îª£º
            OS:Linux2.6.9
Compile:cross 3.3.2
CPU:Intel PXA270
Camera Typ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ