linux vi »ù±¾ÃüÁî
Ò»¡¢ÓÃvi filename´ò¿ªÎļþ£º
¶þ¡¢»ù±¾ÖªÊ¶£ºvi ¿ÉÒÔ·ÖÈýÖÖ״̬£ºÃüÁîģʽ£¨command£©¡¢²åÈëģʽ£¨insert£©ºÍÄ©ÐÐģʽ£¨last line£©
£¨1£©ÃüÁîģʽ£º´ò¿ªÎļþʱĬÈÏÊÇÃüÁîģʽ£¬¿ØÖÆÆÁÄ»¹â±êµÄÒƶ¯¡¢×Ö·û¡¢×Ö»òÕßÐеÄɾ³ý£¬Òƶ¯ ¸´ÖÆ£»½øÈëinsert £¨°´i£ºÔÚ¹â±êλÖòåÈ룻°´aÔÚ¹â±êËùÔÚλÖõĺóÒ»¸ö×Ö·û¿ªÊ¼Ôö¼Ó£»°´o ²åÈëеÄÒ»Ñù´ÓÐÐÊ׿ªÊ¼ÊäÈ룩»òÕßlast line ģʽ£¨°´shift + :£©
£¨2£©²åÈëģʽ£ºÖ»ÓÐinsertģʽ¿ÉÒÔ×öÎÄ×ÖÊäÈ룬°´escÍË»Øcommandģʽ¡£
£¨3£©Ä©ÐÐģʽ£º½«Îļþ±£´æ»òÕßÍ˳övi¡£Ò²¿ÉÒÔÖ´ÐÐÕÒ×Ö·û¡¢ÁÐÐкŵÈÃüÁî¡£
Èý¡¢¸÷ÖÖÃüÁî(Çë×¢ÒâÔÚºÎÖÖģʽϺʹóСд)£º
1 ¶¨Î»Ä³Ò»ÐУº
£¨1£©set number£º£¨Ä©ÐÐģʽ£©¿ÉÒÔ¸øÎı¾¼ÓÐкš£
£¨2£©ÌøÖÁijһÐУº£¨Ä©ÐÐģʽ£©£¬Ö±½ÓÊäÈëÐкţ¬°´enter¡£Èç100ÐУ¬:100
£¨3£©nu£º£¨Ä©ÐÐģʽ£©¿ÉÒÔÊäÈëÃüÁînu£¨numberËõд£©À´»ñµÃ¹â±êµ±Ç°ÐеÄÐкÅÓë¸ÃÐÐÄÚÈÝ¡£
£¨4£©#G£º£¨ÃüÁîģʽ£©°´#GÌøÖÁ#ÐÐÐÐÊ×£¬Èç15G¼´Ìøµ½15ÐÐÐÐÊס£
£¨5£©ctrl+g£º£¨ÃüÁîģʽ£©Áгö¹â±êËùÔÚµÄÐкš£
2 ²éÕҹؼü×Ö£¨Ä©ÐÐģʽ£©£º
£¨1£©? ÔÚµ±Ç°Î»ÖÃÏòÉϲéÕÒ£¬ÊäÈë?¹Ø¼ü×Ö¡£Èç ?authorize¡£Èç¹ûµÚÒ»´ÎÕҵIJ»ÊÇÄãÒªµÄ¹Ø¼ü×Ö£¬ ¿ÉÒÔ°´nÔÚͬһ·½Ïò¼ÌÐø²éÕÒ£¬°´NÍù·´·½ÏòÖ´ÐÐÉÏÒ»´ÎËÑË÷¡£
£¨2£©/ ÔÚµ±Ç°Î»ÖÃÏòϲéÕÒ£¬ÊäÈë/¹Ø¼ü×Ö¡£Èç /authorize¡£Èç¹ûµÚÒ»´ÎÕҵIJ»ÊÇÄãÒªµÄ¹Ø¼ü×Ö£¬ ¿ÉÒÔ°´nÔÚͬһ·½Ïò¼ÌÐø²éÕÒ£¬°´NÍù·´·½ÏòÖ´ÐÐÉÏÒ»´ÎËÑË÷
3 Òƶ¯¹â±ê:
£¨1£©ÔÚinsertģʽÏ£¬¿ÉÖ±½ÓʹÓüüÅÌÉϵÄËĸö·½Ïò¼üÒƶ¯¹â±ê¡£
£¨2£©ÔÚÃüÁîģʽÏ£¬¿ÉÒÔʹÓÃËĸö·½Ïò¼üÀ´Òƶ¯¹â±ê£¬»¹¿ÉÒÔÓÃh¡¢j¡¢k¡¢lÕâËĸö¼ü´úÌæËĸö·½Ïò ¼üÀ´Òƶ¯¹â±ê£¬
£¨3£©-: £¨commandģʽ£©¹â±êÉÏÒÆÖ®ºó£¬¹â±êλÓÚ¸ÃÐеÄÐÐÊ×£¬Ôò¿ÉÒÔʹÓÃÃüÁî“-”¡£
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
Ò»¡¢chown ÃüÁî
ÓÃ;£º¸ü¸ÄÎļþµÄËùÓÐÕß»ò×é¡£ÃüÁîÓɵ¥´Êchange owner×éºÏ¶ø³É¡£
ʹÓÃʾÀý£º
1£¬¸ü¸ÄÎļþµÄËùÓÐÕߣº
chown jim program.c
Îļþ program.c µÄËùÓÐÕ߸ü¸ÄΪ jim¡£×÷ΪËùÓÐÕߣ¬jim ¿ÉÒÔʹÓà chmod ÃüÁîÔÊÐí»ò¾Ü¾øÆäËûÓû§·ÃÎÊ program.c¡£
2£¬¸ü¸ÄĿ¼µÄËùÓÐÕߣº
chown -R john:build /tmp/src
½«Ä¿Â¼ ......
http://blog.tianya.cn/blogger/post_show.asp?BlogID=2243487&PostID=21072119&idWriter=0&Key=0
Linuxϲ鿴cpuÀàÐÍ¡¢ÄÚ´æ´óС¡¢Ó²ÅÌ´óСÀàÐ͵È
CPU²é¿´£º
1¡¢¡¡¡¡# dmesg | grep CPU
¡¡¡¡Initializing CPU#0
¡¡¡¡CPU: Trace cache: 12K uops
¡¡¡¡CPU: L1 I-cache: 0K, L1 D-cache: 16K
¡¡¡¡CP ......
°²×°
SVN
Õâ¸ö±È½Ï¼òµ¥£¬È¥
ÕâÀïÏÂÔØÔ´Âë
http://subversion.tigris.org/
×Ô¼º±àÒëÏÂ×°ºÃ¾ÍÊÇÁË¡£
¶ÔÓÚ
SVN
µÄÅäÖ㬽¨Òé²é¿´ÈçÏÂÁ¬½Ó£¬ËµµÄºÜÏêϸ£¬ÎÒÒ²²»ÔÚ¶à˵¹þ
~
http://www.ibm.com/developerworks/cn/java/j-lo-apache-subversion/#N10250
²»¹ý£¬ÓÐÒ»µã£¬Éϱß˵µÄ½øÐÐĿ¼·ÃÎÊ¿ØÖÆ
£¬Õâ¸ö±È½Ï ......
LINUX
·þÎñ½éÉÜ£¨ÇåÎú°æ£©
·þÎñÁÐ±í£¨°´×Öĸ˳ÐòÅÅÁУ©
·þÎñÃû
±ØÐ裨ÊÇ/
·ñ£©
ÓÃ;ÃèÊö
×¢½â
acon
·ñ
ÓïÑÔÖ§³Ö
ÌرðÖ§³Ö×óÊÖÊéдÓïÑÔ:
°¢À²®Óï,
²¨Ë¹ÓïºÍÏ£²®À³Óï
acpi
·ñ
µçÔ´¹ÜÀí
ÊÖÌáµçÄÔµç³ØµçÉȼà¿ØÆ÷
acpid
·ñ
¼àÌý¾«Áé½ø³Ì
´Ë½ø³Ì¼àÌý²¢·ÖÅäÄÚºËÖеÄacpi
ʼþ
adsl
·ñ
ÄÚ²¿ADSL
¿ ......