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

linux»·¾³±äÁ¿

»·¾³±äÁ¿ÊǺÍShell½ôÃÜÏà¹ØµÄ£¬Óû§µÇ¼ϵͳºó¾ÍÆô¶¯ÁËÒ»¸öShell¡£¶ÔÓÚLinuxÀ´ËµÒ»°ãÊÇbash£¬µ«Ò²¿ÉÒÔÖØÐÂÉ趨»òÇл»µ½ÆäËüµÄ Shell¡£¶ÔÓÚUNIX£¬¿ÉÄÜÊÇCShelll¡£»·¾³±äÁ¿ÊÇͨ¹ýShellÃüÁîÀ´ÉèÖõģ¬ÉèÖúõĻ·¾³±äÁ¿ÓÖ¿ÉÒÔ±»ËùÓе±Ç°Óû§ËùÔËÐеijÌÐòËùʹÓ᣶ÔÓÚbashÕâ¸öShell³ÌÐòÀ´Ëµ£¬¿ÉÒÔͨ¹ý±äÁ¿ÃûÀ´·ÃÎÊÏàÓ¦µÄ»·¾³±äÁ¿£¬Í¨¹ýexportÀ´ÉèÖû·¾³±äÁ¿¡£ÏÂÃæÍ¨¹ý¼¸¸öʵÀýÀ´ËµÃ÷¡£
1)etc/profile:´ËÎļþΪϵͳµÄÿ¸öÓû§ÉèÖû·¾³ÐÅÏ¢,µ±Óû§µÚÒ»´ÎµÇ¼ʱ,¸ÃÎļþ±»Ö´ÐÐ.
²¢´Ó/etc/profile.dĿ¼µÄÅäÖÃÎļþÖÐËѼ¯shellµÄÉèÖÃ.
×¢£ºÔÚÕâÀïÎÒÃÇÉ趨ÊÇΪËùÓÐÓû§¿ÉʹÓõÄÈ«¾Ö±äÁ¿¡£
2)/etc/bashrc:Ϊÿһ¸öÔËÐÐbash shellµÄÓû§Ö´ÐдËÎļþ.µ±bash shell±»´ò¿ªÊ±,¸ÃÎļþ±»¶ÁÈ¡.
3)~/.bash_profile:ÿ¸öÓû§¶¼¿ÉʹÓøÃÎļþÊäÈëרÓÃÓÚ×Ô¼ºÊ¹ÓõÄshellÐÅÏ¢,µ±Óû§µÇ¼ʱ,¸ÃÎļþ½ö½öÖ´ÐÐÒ»´Î!ĬÈÏÇé¿öÏÂ,ËûÉèÖÃһЩ»·¾³±äÁ¿,Ö´ÐÐÓû§µÄ.bashrcÎļþ.
×¢£º~ÔÚLINUXÏÂÃæÊÇ´ú±íHOMEÕâ¸ö±äÁ¿µÄ¡£
ÁíÍâÔÚ²»Í¬µÄLINUX²Ù×÷ϵͳÏ£¬Õâ¸öÎļþ¿ÉÄÜÊDz»Í¬µÄ£¬¿ÉÄÜÊÇ~/.bash_profile£» ~/.bash_login»ò ~/.profileÆäÖеÄÒ»ÖÖ»ò¼¸ÖÖ£¬Èç¹û´æÔÚ¼¸Öֵϰ£¬ÄÇôִÐеÄ˳Ðò±ãÊÇ£º~/.bash_profile¡¢ ~/.bash_login¡¢ ~/.profile¡£±ÈÈçÎÒÓõÄÊÇUbuntu£¬ÎÒµÄÓû§Îļþ¼ÐÏÂĬÈϵľÍÖ»ÓÐ~/.profileÎļþ¡£
4)~/.bashrc:¸ÃÎļþ°üº¬×¨ÓÃÓÚÄãµÄbash shellµÄbashÐÅÏ¢,µ±µÇ¼ʱÒÔ¼°Ã¿´Î´ò¿ªÐµÄshellʱ,¸ÃÎļþ±»¶ÁÈ¡.
(×¢£ºÕâ¸öÎļþÊÇ .¿ªÍ·µÄ£¬ËùÒÔÔÚÎļþ¼ÐÖб»Òþ²ØÁË)
ÄÇôÎÒÃÇÈçºÎÌí¼Ó×Ô¼º¶¨ÒåµÄ»·¾³±äÁ¿ÄØ£¿
ÓüÇʱ¾´ò¿ªÕâ¸öÎļþ£¬È»ºóÔÚÀïÃæ×îºóдÉÏ:
xiaokang=kangkang
È»ºó±£´æ£¬ÕâÑùÿ´Î´ò¿ªÒ»¸öеÄterminalµÄʱºò£¬ÎÒÃÇÕâ¸ö±äÁ¿¾ÍÉúЧÁË¡£¼Çס£¬Èç¹ûÄãÒѾ­´ò¿ªÒ»¸öterminal£¬È»ºóÄãÐÞ¸ÄÁËÕâ¸öÎļþ£¬ÄÇôÔÚÕâ¸öterminalÏÂÊDz»»áÉúЧµÄ¡£Ò»°ãÇé¿öÓû§×îºÃÔÚÕâÀï½øÐÐÐ޸쬵«ÊÇÓÐʱºò»á¸²¸Ç¸¸¼¶µÄ±äÁ¿£¬±ÈÈçPATHÊÇROOTÉ趨µÄ£¬µ«ÊÇÈç¹ûÄãÔÚÕâ¸öÎļþÀïÃæÐ´ÁËPATH=xx,ÄÇô½«À´ËùÓеÄPATH¶¼³ÉÁËxxÁË£¬ËùÒÔÎÒÃÇÓ¦¸ÃÔÚÕâ¸öÎļþÖÐдΪ£º 
PATH£½$PATH:xx
ÕâÑù¾Í°ÑÔ­À´µÄºÍÄã×Ô¼ºµÄÒ»Æð¼ÓÉÏÁË¡£¶øÇÒ×¢ÒâÔÚLINUXϵͳÏÂÓ㺷ָî±íʾ²¢ÁУ¬¶ø²»ÊÇwindoµÄ£»
3ºÍ4¶¼ÊÇÔÚÓû§Ä¿Â¼Ïµģ¬ËûÃÇΨһµÄ²»Í¬ÊÇ: .bash_profileÖ»ÄÜÔڵǼµÄʱºòÆô¶¯Ò»´Î¡£ÔÚÎÒµÄUbuntuÀïÃæÕâ¸ö3ÎļþËÆºõûÓС£
5)~/.bash_logout:µ±Ã¿´ÎÍ˳öϵͳ(Í˳öbash shell)ʱ,Ö´ÐиÃÎļþ.
ÁíÍâ,/etc/profileÖÐÉè


Ïà¹ØÎĵµ£º

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

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

LINUXÊØ»¤½ø³Ì


int Daemon(char* szExecName = NULL)
{
 int res = 0;
 pid_t pc;
 pc = fork();
 if(pc < 0)
 {
  fprintf(stderr,"ERROR_Deamon()_fork(): failed!");
  return -1;
 }
 else if(pc == 0) //sub process
 {
 }
 else if( ......

ʲôÊÇ Ubuntu Linux Èí¼þÔ´

Ô´£¬ÔÚubuntuÏ£¬Ëü¾ÍÏ൱ÓÚÈí¼þ¿â£¬ÐèҪʲôÈí¼þ£¬Ö»Òª¼ÇµÃÕýÈ·µÄÈí¼þÃû²¢ÇÒÈ·¶¨ÔÚubuntuÏ¿϶¨ÓеÄÈí¼þ£¬¾Í¿ÉÒÔʹÓÃÃüÁîÀ´°²×°Èí¼þµÄ£¨µ±È»Ò²¿ÉÒÔÓÃÐÂÁ¢µÃÀ´°²×°£©ÃüÁîÊÇ£ºsudo apt -get install Èí¼þÃû £¬±ÈÈç˵QQ£¬Äã²»ÄÜÊäÈë³É sudo apt-get install qq ,Õâ¸öÊDz»¶ÔÁË£¬ÒòΪQQûÓÐ linux°æµÄ£¬Ö»ÄÜÓôúÌæÀ´ÊµÏÖ£¬±ÈÈç´ ......

Linux ¼ÓÔØUÅÌ¡¢¹âÅÌ¡¢ÈíÅÌ & mountʹÓÃÖ¸ÄÏ

Ò»¡¢Linux¼ÓÔØuÅÌ
LinuxÈçºÎ¼ÓÔØ(ÓÅ)UÅÌ
µÚÒ»²½£¬ÒÔrootÓû§µÇ½
ÏȼÓÔØUSBÄ£¿é modprobe usb-storage
ÓÃfdisk -l ¿´¿´´ÅÅ̵ÄÉ豸
¼ÙÈçUÅÌÊÇsda
µÚ¶þ²½£¬È·¶¨ÔÚ Ä¿Â¼ /mnt Ͻ¨Á¢ÁË Îļþ¼Ð /usb,Èç¹û佨Á¢¿É¼üÈëÒ»ÏÂÃüÁ               mkdir /mnt/usb  & ......

Reading Codes in Linux, by taglist + ctags

http://blog.chinaunix.net/u1/51797/showart_1019166.html
Taglist
TaglistÊÇÒ»¸övimµÄÔ´´úÂëä¯ÀÀ²å¼þ£¬¾ßÌ幦ÄܽéÉÜ»¹·³Çë¸÷λ¿´¹Ù×Ô¼ºgoogleһϡ£ºÜ¶àÊÂÇ黹ÐèÒªÇ×Éí¾­Àú²ÅÓÐÓ㬱ðÈË´úÀÍÊDz»Ðеġ£
ÐèÒª°²×°Õâ¸ö²å¼þ£¬²å¼þÏÂÔØµØÖ·£ºTaglistÏÂÔØµØÖ·
http://www.vim.org/scripts/script.php?script_id=273
ÀïÃæÓÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ