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

LINUXѧϰ֮Âà ViµÄѧϰ

Vi¾ÍÏ൱windowsÉÏÃæµÄ¼Çʱ¾£¬Äã˵²»Ñ§ÐÐÂ𣿲»Ðеģ¬ÌرðÊÇÔÚserver»·¾³ÏÂÃ棬²»ÓÃÄǶ«Î÷ÎҾͲ»ÖªµÀÔõôÑùÈ¥ÅäÖÃÄÇ´ó¶ÑµÄÅäÖÃÎļþ£¬Èç¹ûviÓõĺõĻ°£¬Äã¿ÉÒÔÔÚÅäÖ÷½Ãæ½ÚÊ¡ºÜ´óµÄÁ¦Æø£¬µ«ÊÇÇ°ÌáÊǵû¨µãʱ¼ä°ÑËûѧºÃ£¬ÎÒÖ»ÖªµÀ×î»ù±¾µÄ²Ù×÷vi£¬µ«ÊÇÓõĺܲ»ºÃ£¬ÎÒ¼ûÒ»¸çÃÇÓÃÄǶ«Î÷ÓõĿÉÌ«ÉñÁË£¬Óùý¶«¶«À´×÷³ÌÐò¿ª·¢£¬ÎÒÏ붼²»¸ÐÏ룬¿´ÁËÄǸçÃÇ˵viÓкܶà²Ù×÷·½Ê½ÊÇwindowsÉÏÃæµÄ´Ê±¾Ã»·¨±ÊµÄ£¬ÎÒÏÖÔÚÒ²µÃºÃºÃѧһÏ£¬¿´×ÅÎÒÓÃÄÇviºÜ±¿×¾µÄÑù×Ó£¬¾ÍÖØÐÂѧһÏ£¬Ë³±ã°ÑÕⶫÎ÷¼ÇÆðÀ´£¬ÒÔ·ÀÒÔºóÓÖÕÒ²»µ½ÁË
°²×°
ÕⶫÎ÷ËùÓеÄlinux»úÆ÷ÉÏÓ¦¸Ã¶¼×Ô´øÁ˵İɣ¬ÎÒÓõÄÊÇubuntu server 8.04ÕâÉÏÃæ¾ÍÓУ¬Èç¹ûûÓеĻ°×Ô¼ºÏÂÒ»¸öÒ²ºÜÈÝÒ×µÄÔÚubuntuÉÏÃæÓà sudo apt-get install vim¾Í¿ÉÒÔÁË
ÓÃvi¼Ó²ÃÎļþ
$vi myfile.txt
ÕâÑù¾Í¿ÉÒÔ¼ÓÔØÎļþµ½viÖÐ
vi Æô¶¯ºó£¬´¦ÓÚÒ»ÖÖÌØÊâµÄ“ÃüÁîģʽ”¡£
ÔÚÃüÁîģʽÏ£¬¼üÅÌÉϵÄ×Ö·ûÊÇÓÃÀ´Ïò vi ·¢ËÍÃüÁ¶ø²»ÊDzåÈëÎÄ×Ö×Ö·û¡£·¢ËÍʲôÑùµÄÃüÁî¾ÍÖ´ÐÐʲôÑùµÄ²Ù×÷£¬ÓÐÒâ˼£¬¸Õ¿ªÊ¼µÄʱºò±»ÕⶫÎ÷ÍæŪ¹ý£¬Ôõôһ»áÓÖÃüÁîģʽ£¬Ò»»áÓÖ²åÈëģʽ£¬ÏÖÔÚÒ²ÈÏΪÕâÔÚÕý³£²»¹ýÁË
ÔÚÃüÁîģʽÏ¿ÉÒÔÏ´ïºÜ¶àÃüÁ²»¹ý×î·³µÄÊǺÜÄѼǣ¬µ«ÊÇÈç¹û¾­³£Ê¹ÓõĻ°¾Í²»ÓüÇÁË£¬ÓÐʱºòÍæÓÎÏ·¼¸Ê®¸ö¿ì½ÝÃüÁÄܾ÷£¬ÎÒ¾ÍÏëÄîvi¾ÍÄǼ¸Ê®¸öÃüÁîÎҼDz»ËÀÄ㣬¹þ¹þ
 
ÔÚÃüÁîģʽÏ£º
(1) ¿ÉÒÔʹÓà h¡¢j¡¢k ºÍ l ¼üÏò×ó¡¢ÏòÏ¡¢ÏòÉϺÍÏòÓÒÒƶ¯¹â±ê¡£Õâ¸öºÜºÃ£¬ÍæÓÎÏ·µÄʱºò¾ÍÄǼ¸¸ö½¡×îѧÓÃÁË£¬viµÄ·¢Ã÷ÈËÒ²¿ÉÄÜÊÇͬÐС£Ï°¹ßÁË h¡¢j¡¢k ºÍ l ¼ü£¬¾ÍºÜ·½±ã£¬ÊÖÖ¸¾Í²»±Ø´ÓÖ÷¼üÅÌÐÐÒÆ¿ª¡£×¢Ò⣬µ±¹â±êÒÑÔÚÐÐÊ×ʱ£¬vi ²»ÔÊÐíÓà h ¼üÕÛµ½ÉÏÒ»ÐС£Í¬Ñù£¬µ±¹â±êÔÚÐÐĩʱ£¬Ò²²»ÔÊÐíʹÓà l ¼üÕÛµ½ÏÂÒ»ÐС£
(2)°´ 0 (Áã) Ìøµ½Ò»ÐеĵÚÒ»¸ö×Ö·û£¬°´ $ Ìøµ½Ò»ÐеÄ×îºóÒ»¸ö×Ö·û¡£
(3)(control-F) ºÍ  (control-B) Ò»´ÎÏòÇ°»òÏòºó·­Ò³,Õâ¸öºÜÈÝÒ×¼ÇforwardÇ°½ø£¬backºóÍË
(4)µ¥´ÊÒƶ¯ wordÊǵ¥´ÊµÄÒâ˼£¨¼ÇµÃСѧµÄʱºòÀϸç¶ÔÎÒ˵µÄ£¬¿ÉÄÜÏòÎÒ´µËûÓжàÅ££©ÒªÒƵ½ÏÂÒ»¸öµ¥´ÊµÄµÚÒ»¸ö×Ö·û£¬Çë°´ w¡£ÒªÒƵ½ÏÂÒ»¸öµ¥´ÊµÄ×îºóÒ»¸ö×Ö·û£¬Çë°´ e¡£ÒªÒƵ½Ç°Ò»¸öµ¥´ÊµÄµÚÒ»¸ö×Ö·û£¬Çë°´ b ÕâȷʵºÜ·½±ã
·ÉÅÜ
ÕâÑùÒƶ¯Ò²Ì«ÂýÁË£¬¿É²»¿ÉÒÔÀ´µã¿ìµÄ£¬¿ÉÒÔʹÓà ( ºÍ ) ×Ö·û½«¹â±êÒƵ½Ç°Ò»¸ö¾ä×Ó»òºóÒ»¸ö¾ä×ӵľäÊס£¿ÉÒÔʹÓà { »ò } Ìøµ½µ±Ç°¶Î»òÏÂÒ»¶Î¶ÎÊס£
ÊäÈë :q!¡£ÕâÊDz»±£´æÎļþÄÚÈݾÍÍ˳ö,ÕâЩ²Ù×÷Ó¦ÔÚÃüÁîÌáʾģʽϽøÐÐ
ÔÚ vi


Ïà¹ØÎĵµ£º

ʵս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 Ê ......

ÎÒµÄORACLE RAC INSTALL for LINUX 10.2Ñо¿


ÎÒµÄORACLE RAC INSTALL for LINUX 10.2Ñо¿ 
 
ÎÒµÄORACLE RAC INSTALL for LINUX 10.2Ñо¿
1¡¢´´½¨ÐéÄâ»ú
DB1ÐéÄâ»úÎļþĿ¼ g:\vmtest1 Îļþ´óС8G ÄÚ´æ944M£¨Ô­ÁÂÎÒÖ»ÓÐ2GRAM)
DB2ÐéÄâ»úÎļþĿ¼ E:\vmtest2  Îļþ´óС8G ÄÚ´æ944M
ÔÚDB1ÉÏ´´½¨¹²Ïí´ÅÅÌ£¬
E:\SHARE Îļþ´óС8G
DB2Ò²´´½¨´ÅÅÌ£¬ ......

linux¶àÏ̱߳à³Ì Ïà¹Ø¸ÅÄî

ѧϰLinux¶à½ø³Ì±à³Ì
Ò»¡¢½ø³ÌµÄ¶¨Ò壺³ÌÐòÖ´ÐкÍ×ÊÔ´¹ÜÀíµÄ×îСµ¥Î»¡£
¶þ¡¢½ø³Ì¿ØÖÆ£º
£¨1£©½ø³Ì±êʶ£º ½ø³Ì±êʶ  ×Ó½ø³ÌºÅ  ¸¸½ø³ÌºÅ
 Í·Îļþ  #include<unistd.h>  #include<unistd.h>
 º¯Êý¹¦ÄÜ  È¡µÃµ±Ç°½ø³ÌµÄ½ø³ÌºÅ  È¡µÃµ±Ç°½ø³ÌµÄ¸¸½ø³ÌºÅ
 º¯ ......

Ò»µÀlinux±ÊÊÔÌâÄ¿


ÊÇqqȺÀïÈËÎʵģ¬ÎÒ¾Í˳±ãдһÏÂÁË¡£
shell±à³Ì£ºÐ´ÃüÁîkilltty,ÕÒ³öϵͳÖÐËùÓÐÔËÐÐÔÚÖ¸¶¨tty£¨Èç/dev/tty01£©ÉϵĽø³Ì£¬²¢È«²¿É±ËÀ
#!/bin/bash
ps -ef | grep tty | grep -v "grep tty" | awk '{print $2}' |sed '/PID/d' > ttyfile
while read LINE
do
kill -9 $LINE
done < ttyfile
²»¹ýttyÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ