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

linuxÉÏʹÓÃviʱ³£ÓõÄÃüÁî


1¡¢¼òµ¥µÄ²éÕÒ²¢Ì滻ΪеÄ×Ö·û´®
:%s/²éÕÒµÄ×Ö·û´®/еÄ×Ö·û´®/g
eg£º²éÕÒ“liliang” ²¢½«ÆäÌæ»»Îª“liangli”
:%s/liliang/liangli/g
ÆäÖГ\”ΪתÒå·û
eg£º²éÕÒ“li/liang” ²¢½«ÆäÌæ»»Îª“liliang”(¼´°Ñ±»²éÕÒ×Ö·û´®ÖеÄб¸ÜÈ¥µô)
:%s/li\/liang/liliang/g
2¡¢²éÕÒÃüÁî
˳Ðò²éÕÒ×Ö·û´®
/×Ö·û´®         
ÄæÐò²éÕÒ×Ö·û´®
?×Ö·û´®
n  °´µÚÒ»¡¢¶þÃüÁîµÄ˳Ðò¼ÌÐø²éÕÒÏÂÒ»¸ö×Ö·û´®
N  °´µÚÒ»¡¢¶þÃüÁîµÄÏà·´µÄ˳Ðò¼ÌÐø²éÕÒÏÂÒ»¸ö×Ö·û´®
3¡¢ÐкÅ
Ìí¼ÓÐкÅ
:set number         (:set nu)
²»ÏÔʾÐкÅ
:set nonumber       (:set nonu)
4¡¢¹â±êÒÆ¶¯
½«¹â±êÒÆ¶¯µ½Ö¸¶¨µÄÐÐÊý
:ÐÐÊý
½«¹â±êÒÆ¶¯µ½Îı¾µÄ¿ªÊ¼´¦
gg
½«¹â±êÒÆ¶¯µ½Îı¾µÄĩβ
G  (ÎÒϰ¹ßshift + g)
5¡¢Ã¿¸ö×Ö·ûµÄʹÓÃ˵Ã÷£¨´ÓÆäËûµØ·½¿½±´¹ýÀ´µÄ£¬ÓÐЩûÑéÖ¤,ºìÉ«ÊÇÎÒ¾­³£Óõ½µÄ£©
a         ÔÚµ±Ç°Î»ÖÃÖ®ºóÌí¼Ó    
A         ÔÚµ±Ç°ÐеÄĩβÌí¼Ó    
^a       ûÓÐʹÓà   
b         ÉÏÒ»¸öµ¥´ÊµÄ¿ªÍ·    
B         ÉÏÒ»¸öµ¥´ÊµÄ¿ªÍ·,ºöÂÔ±êµã·ûºÅ    
^b       ÉÏÒÆÒ»ÆÁ    
c         ¸²¸Ç...    
C         ¸²¸Çµ½ÐÐĩβ    
^c       ÖÕÖ¹²åÈëģʽ,ÔÚÃüÁîģʽûÓÐÓà   
d         ɾ³ý...     ºóÃæ¸úÆäËü¼ü£¬·Ç³£ÓÐÓÃ
D         ɾ³ýµ½ÐÐĩβ    
^d       ÏÂÒÆ°ëÆÁ£¬Èç¹ûÔÚ²åÈëģʽÏÂÔòÒÆµ½ÉÏÒ»¸öÒÆ¶¯¿í¶È£¨ShiftTab)´¦ 


Ïà¹ØÎĵµ£º

linuxÇý¶¯Ö®mmapʵÀý

// Linux Device Driver Template/Skeleton with mmap
// Kernel Module
#include <linux/module.h>
#include <linux/init.h>
#include <linux/version.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#inclu ......

linux Ï ÓÃcÓïÑÔ´´½¨mysqlÊý¾Ý¿â±Ê¼Ç£¨¶þ£©

linux Ï ÓÃcÓïÑÔ´´½¨mysqlÊý¾Ý¿â±Ê¼Ç£¨¶þ£©
                       
£­£­£­£­£­£­£­Á½¸ö¼òµ¥µÄÀý×Ó£¬¹©²Î¿¼±È½Ï
¡¶ÀýÒ»¡·
#include <stdio.h>
#include <stdlib.h>
#include
&q ......

LinuxµÄoopsÄں˵÷ÊÔÐÅÏ¢

      Oops¿ÉÒÔ¿´³ÉÊÇÄں˼¶µÄSegmentation Fault¡£Ó¦ÓóÌÐòÈç¹û½øÐÐÁË·Ç·¨ÄÚ´æ·ÃÎÊ»òÖ´ÐÐÁË·Ç·¨Ö¸Á»áµÃµ½SegfaultÐźţ¬Ò»°ãµÄÐÐΪÊÇcoredump£¬Ó¦ÓóÌÐòÒ²¿ÉÒÔ×Ô¼º½Ø»ñSegfaultÐźţ¬×ÔÐд¦Àí¡£Èç¹ûÄÚºË×Ô¼º·¸ÁËÕâÑùµÄ´íÎó£¬Ôò»á´ò³öOopsÐÅÏ¢¡£´¦ÀíÆ÷ʹÓõÄËùÓеØÖ·¼¸ºõ¶¼ÊÇͨ¹ýÒ»¸ö¸´ÔÓµÄÒ³± ......

Linux Óû§ÃûºÍÃÜÂëÒÅÍü

²ËÄñ¾ÍÊDzËÄñ£¬Ê²Ã´ÎÊÌâ¶¼ÄÜÓöµ½°¡¡£¡£¸ÕÏëѧϰÏÂlinux ¾ÍÓöµ½ÕâÖְ׳ÕÎÊÌ⣬°Ù¶ÈÏ »¹ÊÇÓнáÂÛµÄÂ𡣺ǺÇ
ÒÔÏÂΪ²ÎÕյĽâ¾ö·½°¸£º
¿ÉÒÔÒÔµ¥Ò»Ê¹ÓÃÕßµÄģʽµÇÈ룬ȻºóÔÙ½¨Á¢Ò»¸öеÄrootÃÜÂë¡£
Òª½øÈ뵥һʹÓÃÕßģʽ£¬ÇëÏÈÖØÐÂÆð¶¯ÄúµÄµçÄÔ£¬¼ÙÈçÄúʹÓÃÔ¤µ÷µÄ¿ª¹Ø¹ÜÀí³ÌʽGRUB£¬Äú¿ÉÒÔÖ´ÐÐÏÂÁе͝×÷À´½øÈ뵥һʹÓÃÕßÄ£Ê ......

linux PHP »·¾³´î½¨

Ò»¡¢µÇ½
1.½øÈëlinux
2.Óû§Ãû: root
3.¿ÚÁî:123456
4.mysql Óû§Ãû root ÃÜÂë 123456
¶þ¡¢Æô¶¯mysqlÓëapache·þÎñ
1.Æô¶¯mysqÊý¾Ý¿â:/usr/local/mysql/bin/./mysqld_safe --user=mysql &
2.Í£Ö¹mysqlÊý¾Ý¿â:/usr/local/mysql/bin/mysqladmin -u root -p shutdown
3.Æô¶¯apache: /usr/local/apache2/bin/./ap ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ