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

linux shell ×Ö·û´®½ØÈ¡×ܽá

linuxÖжÔ×Ö·û´®µÄ´¦Àí£º
1.×Ö·û´®·Ö¸îÀýÈç  AAAAA-BBBBBB  °´-·Ö¸îȥǰºóÁ½²¿·Ö
 cut £º
[rich@localhost ~]$ str=AAAAA-BBBBBB
[rich@localhost ~]$ echo $str | cut -d "-" -f 1
AAAAA
[rich@localhost ~]$ echo $str | cut -d "-" -f 2
BBBBBB
½âÊÍ£ºA £ü B  ½«AÃüÁîµÄÊä³ö ×÷ΪBÃüÁîµÄÊäÈë
cut
-d  £º·Ö¸ô·û
-f   £º field  ·Ö¸îºóµÄÊý×éË÷Òý Ö»²»¹ýÊÇ´Ó1¿ªÊ¼
Èç¹û²»´æÔÚ·Ö¸î·ûÔò·µ»ØÈ«²¿£º
[rich@localhost ~]$ echo $str | cut -d "c" -f 1
AAAAA-BBBBBB
expr  £¦£¦ cut£º
È¡“-”µÄË÷Òý
[rich@localhost ~]$ index=`expr index  "${str}" "-"`
[rich@localhost ~]$ echo $str | cut -c`expr "${index}" + 1`-
BBBBBB
[rich@localhost ~]$ echo $str | cut -c1-`expr ${index} - 1`
AAAAA
cut
-c ½ØÈ¡×Ö·û´® Ë÷Òý´Ó1¿ªÊ¼
-cA-   Aµ½Ä©Î²
-cA  AλÖÃ
-c A-B   Ë÷ÒýA-B
-c-A   ½ØÈ¡Ç°A¸ö×Ö·û
substr£º
[rich@localhost ~]$ index=`expr ${index} - 1`
[rich@localhost ~]$ echo `expr substr "${str}" 1 ${index}`
AAAAA
substr  str A  B
´ÓË÷ÒýA¿ªÊ¼½ØÈ¡B³¤¶ÈµÄ×Ö·û´®


Ïà¹ØÎĵµ£º

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

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

LinuxÄÚ´æÄ£ÐÍ

LinuxÄÚ´æÄ£ÐÍ
 
Àí½â Linux ʹÓõÄÄÚ´æÄ£ÐÍÊÇ´Ó¸ü´ó³Ì¶ÈÉÏÕÆÎÕ Linux Éè¼ÆºÍʵÏֵĵÚÒ»²½£¬Òò´Ë±¾ÎĽ«¸ÅÊö Linux ÄÚ´æÄ£Ðͺ͹ÜÀí¡£
ÓëÄÚ´æ¹ÜÀíÓйصÄÖ÷ÒªÎÊÌâÓУº
l  ÐéÄâÄÚ´æµÄ¹ÜÀí£¬ÕâÊǽéÓÚÓ¦ÓóÌÐòÇëÇóÓëÎïÀíÄÚ´æÖ®¼äµÄÒ»¸öÂß¼­²ã¡£
l  ÎïÀíÄÚ´æµÄ¹ÜÀí¡£
l  ÄÚºËÐéÄâÄÚ´æµÄ¹ÜÀí/ÄÚºËÄÚ´ ......

LinuxÉÏjdkºÍtomcatµÄ°²×°

µÚÒ»£º
  ÏÂÔØ°²×°Îļþ£º
jdk1.6: wget  http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u17-linux-x64-rpm.bin?BundledLineItemUUID=MAhIBe.nJasAAAEl91kuXXad&OrderID=MwxIBe.nEvEAAAEl7FkuXXad&ProductID=RPVIBe.onOYAAAEk8edn5G0y ......

linux ÖÐÐÂÔö¼ÓÓ²Å̼°À©Õ¹SWAP½»»»·ÖÇø

       ÔÚlinuxÖÐ,µ±ÎÒÃÇÒòΪÐèÒªÐÂÌí¼ÓÒ»¿éÓ²ÅÌ,»òÕßÊÇÎÒÃÇswap½»»»·ÖÇø¿Õ¼ä²»¹»,ÐèÒªÔö¼Ó,ÎÒÃÇÔõôÀ´´¦ÀíÄØ?Ê×ÏÈ,ÕÒÒ»¿éÐÂÓ²ÅÌ,ÔڶϵçµÄÇé¿öϽÓÈë,Æô¶¯¼ÆËã»ú,½Ó¾Í½øÐÐÈçϲÙ×÷:
Ò»¡¢ÐÂÔö´ÅÅÌ·ÖÇø¡¢¸ñʽ»¯
Ê×ÏÈÓÃfdisk -l ²é¿´ÐÂÔöÓ²Å̵ÄÅÌ·û£¬ÀýÈç/dev/sdb;
½«Æä·Ö³ÉÈý¸öÇø£º
#fdis ......

»ùÓÚARMµÄǶÈëʽlinux Äں˵IJüôÓëÒÆÖ²


0 ÒýÑÔ
   
΢´¦ÀíÆ÷µÄ²úÉúΪ¼Û¸ñµÍÁ®¡¢½á¹¹Ð¡ÇɵÄCPUºÍÍâÉèµÄÁ¬
½ÓÌṩÁËÎȶ¨¿É¿¿µÄÓ²¼þ¼Ü¹¹£¬ÕâÑù£¬ÏÞÖÆǶÈëʽϵͳ·¢Õ¹µÄÆ¿¾±¾ÍÍ»³ö±íÏÖÔÚÁËÈí¼þ·½Ãæ¡£¾¡¹Ü´Ó°ËÊ®Äê´úÄ©¿ªÊ¼£¬ÒѾ­Â½Ðø³öÏÖÁËһЩǶÈëʽ²Ù×÷ϵͳ(±È½ÏÖø
ÃûµÄÓÐVxwork¡¢pSOS¡¢NeculeusºÍWindows
CE)¡£µ«ÕâЩרÓòÙ×÷ϵͳ¶¼ÊÇÉÌ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ