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

Linux Ìæ»»ÃüÁî

¡¡¡¡vi/vim ÖпÉÒÔʹÓà :s ÃüÁîÀ´Ìæ»»×Ö·û´®¡£ÒÔÇ°Ö»»áʹÓÃÒ»ÖÖ¸ñʽÀ´È«ÎÄÌæ»»£¬½ñÌì·¢ÏÖ¸ÃÃüÁîÓкܶàÖÖд·¨(vi ÕæÊÇÇ¿´ó°¡£¬»¹ÓкܶàÐèҪѧϰ)£¬¼Ç¼¼¸ÖÖÔÚ´Ë£¬·½±ãÒÔºó²éѯ¡£
¡¡¡¡:s/vivian/sky/ Ìæ»»µ±Ç°ÐеÚÒ»¸ö vivian Ϊ sky
¡¡¡¡:s/vivian/sky/g Ìæ»»µ±Ç°ÐÐËùÓÐ vivian Ϊ sky
¡¡¡¡:n,$s/vivian/sky/ Ìæ»»µÚ n ÐпªÊ¼µ½×îºóÒ»ÐÐÖÐÿһÐеĵÚÒ»¸ö vivian Ϊ sky
¡¡¡¡:n,$s/vivian/sky/g Ìæ»»µÚ n ÐпªÊ¼µ½×îºóÒ»ÐÐÖÐÿһÐÐËùÓÐ vivian Ϊ sky
¡¡¡¡n ΪÊý×Ö£¬Èô n Ϊ .£¬±íʾ´Óµ±Ç°ÐпªÊ¼µ½×îºóÒ»ÐÐ
¡¡¡¡:%s/vivian/sky/(µÈͬÓÚ :g/vivian/s//sky/) Ì滻ÿһÐеĵÚÒ»¸ö vivian Ϊ sky
¡¡¡¡:%s/vivian/sky/g(µÈͬÓÚ :g/vivian/s//sky/g) Ì滻ÿһÐÐÖÐËùÓÐ vivian Ϊ sky
¡¡¡¡¿ÉÒÔʹÓà # ×÷Ϊ·Ö¸ô·û£¬´ËʱÖмä³öÏÖµÄ / ²»»á×÷Ϊ·Ö¸ô·û
¡¡¡¡:s#vivian/#sky/# Ìæ»»µ±Ç°ÐеÚÒ»¸ö vivian/ Ϊ sky/
¡¡¡¡:%s+/oradata/apras/+/user01/apras1+ (ʹÓÃ+ À´ Ìæ»» / )£º /oradata/apras/Ìæ»»³É/user01/apras1/
¡¡¡¡* ************************************
¡¡¡¡1.:s/vivian/sky/ Ìæ»»µ±Ç°ÐеÚÒ»¸ö vivian Ϊ sky
¡¡¡¡:s/vivian/sky/g Ìæ»»µ±Ç°ÐÐËùÓÐ vivian Ϊ sky
¡¡¡¡2. :n,$s/vivian/sky/ Ìæ»»µÚ n ÐпªÊ¼µ½×îºóÒ»ÐÐÖÐÿһÐеĵÚÒ»¸ö vivian Ϊ sky
¡¡¡¡:n,$s/vivian/sky/g Ìæ»»µÚ n ÐпªÊ¼µ½×îºóÒ»ÐÐÖÐÿһÐÐËùÓÐ vivian Ϊ sky
¡¡¡¡(n ΪÊý×Ö£¬Èô n Ϊ .£¬±íʾ´Óµ±Ç°ÐпªÊ¼µ½×îºóÒ»ÐÐ)
¡¡¡¡3. :%s/vivian/sky/(µÈͬÓÚ :g/vivian/s//sky/) Ì滻ÿһÐеĵÚÒ»¸ö vivian Ϊ sky
¡¡¡¡:%s/vivian/sky/g(µÈͬÓÚ :g/vivian/s//sky/g) Ì滻ÿһÐÐÖÐËùÓÐ vivian Ϊ sky
¡¡¡¡4. ¿ÉÒÔʹÓà # ×÷Ϊ·Ö¸ô·û£¬´ËʱÖмä³öÏÖµÄ / ²»»á×÷Ϊ·Ö¸ô·û
¡¡¡¡:s#vivian/#sky/# Ìæ»»µ±Ç°ÐеÚÒ»¸ö vivian/ Ϊ sky/
¡¡¡¡5. ɾ³ýÎı¾ÖеÄ^M
¡¡¡¡ÎÊÌâÃèÊö£º¶ÔÓÚ»»ÐÐ,windowÏÂÓûسµ»»ÐÐ(0A0D)À´±íʾ£¬linuxÏÂÊǻسµ(0A)À´±íʾ¡£ÕâÑù£¬½«windowÉϵÄÎļþ¿½µ½unixÉÏÓÃʱ£¬×Ü»áÓиö^M.Çëд¸öÓÃÔÚunixϵĹýÂËwindowsÎļþµÄ»»Ðзû(0D)µÄshell»òc³ÌÐò¡£
¡¡¡¡· ʹÓÃÃüÁcat filename1 | tr -d “^V^M” > newfile;
¡¡¡¡· ʹÓÃÃüÁsed -e “s/^V^M//” filename > outputfilename¡£ÐèҪעÒâµÄÊÇÔÚ1¡¢2Á½ÖÖ·½·¨ÖУ¬^VºÍ^MÖ¸µÄÊÇCtrl+VºÍCtrl+M¡£Äã±ØÐëÒªÊÖ¹¤½øÐÐÊäÈ룬¶ø²»ÊÇÕ³Ìù¡£
¡¡¡¡· ÔÚviÖд¦Àí£ºÊ×ÏÈʹÓÃvi´ò¿ª


Ïà¹ØÎĵµ£º

ÔÚlinuxÏÂʵÏÖweb qqµÄ×ÀÃ滯


´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ­°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......

linux kernel thread

http://hi.baidu.com/j_fo/blog/item/55f4014f1a226937aec3ab01.html
Linux Kernel Thread µÄÌÖÂÛ
2007-05-14 11:45
kernel thread

Gearheads Written by Sreekrishnan Venkateswaran
   Thursday, 15 September 2005

Threads are programming abstractions used in concurrent processing. A ke ......

Linuxϵͳ¹ÜÀí °²È«Æª Ö®¿ª·Å¶Ë¿Ú

²é¿´ÏµÍ³Öпª·ÅµÄ¶Ë¿Ú£¬¹Ø±Õ²»ÐèÒªµÄ¶Ë¿ÚºÍ³ÌÐò£¬ÈçÏÂÀýÖвÙ×÷Á÷³Ì£º
1. ²é¿´¶ÔÍ⿪ÆôµÄ¶Ë¿Ú:
[root@mail ~]# nmap 127.0.0.1 #×¢£º´Ë´¦Ó¦¸Ã»»×÷¹«Íøip
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2010-04-20 11:06 CST
Interesting ports on 127.0.0.1
Not shown: 1668 closed ports
PORT   &nb ......

linux µÄ sourceÃüÁî

sourceÃüÁî(´Ó C Shell ¶øÀ´)ÊÇbash shellµÄÄÚÖÃÃüÁî¡£µãÃüÁ¾ÍÊÇÒ»¸öµã·ûºÅ£¬(´ÓBourne Shell¶øÀ´)ÊÇsourceµÄÁíÒ»Ãû³Æ¡£ÕâÁ½¸öÃüÁÒÔÒ»¸ö½Å±¾Îª²ÎÊý£¬¸Ã½Å±¾½«×÷Ϊµ±Ç°shellµÄ»·¾³Ö´ÐУ¬¼´²»»áÆô¶¯Ò»¸öеÄ×Ó½ø³Ì¡£ËùÓÐÔڽű¾ÖÐÉèÖõıäÁ¿½«³ÉΪµ±Ç°ShellµÄÒ»²¿·Ö¡£Í¬ÑùµÄ£¬µ±Ç°½Å±¾ÖÐÉèÖõıäÁ¿Ò²½«×÷Ϊ½Å±¾µÄ»·¾³£¬s ......

LinuxÄں˴úÂë·ÖÎö slab.c by Áõ¿º


LinuxÄں˴úÂë·ÖÎö slab.c by Áõ¿º liukang@bjut.edu.cn
slab.cÀ´×ÔlinuxÄÚºË2.4.22°æ£¬±¾Îļþ°´ÕÕGNUЭÒé·¢²¼¡£
Ò»¡¢×¼±¸ÖªÊ¶£º
slabµÄ¸ÅÄ
Ìá³öµÄÔ­Òò£ºÓÉÓÚ²Ù×÷ϵͳÔÚÔËÐÐÖл᲻¶Ï²úÉú¡¢Ê¹Óá¢ÊÍ·Å´óÁ¿Öظ´µÄ¶ÔÏó£¬
ËùÒÔ¶ÔÕâÑùµÄÖظ´¶ÔÏóµÄÉú³É½øÐиĽø¿ÉÒÔ´ó´óÌá¸ßЧÂÊ
×îÔçÓÉsunµÄ¹¤³ÌʦÌá³ö(1994Äê)²¢Ê×ÏÈÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ