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

linux emacs c (Ò»£©

²»À뿪EmacsÍê³É¼òµ¥C³ÌÐòµÄ±à¼­±àÒëÔËÐУ¨×ª£©
£¨1£©´ò¿ªEmacs£¬Ö´ÐÐ
$ emacs
£¨2£©½¨Á¢Ò»¸öеijÌÐòÎļþ. Ö´ÐÐ C-x C-f£¬
È»ºóÔÚÆÁÄ»µÄµ×²¿³öÏÖminibuffer£¬¹â±êÌáʾÄãÊäÈëÎļþÃû³Æ£¬
ÎļþÃû³ÆÒª´øÉϺó׺Ãû£¬Èçhello.cpp¡£»Ø³µ£¬È»ºó¿ªÊ¼±à¼­Ô´´úÂë¡£
£¨3£©±àÒë´úÂë¡£Ö´ÐÐEsc-x compile£¬³öÏÖminibuffer£¬ÌáʾÄãÊäÈë±àÒëÃüÁî¡£
ĬÈÏÇé¿öÏ£¬Óиömake -k³öÏÖÔÚminibuffer¡£ÎÒ»¹²»ÖªµÀËýµÄÄ¿µÄ¡£
¸÷λ¸ßÊÖ¿ÉÒÔ¸ø¸öÌáʾ¡£
±ÈÈçÉÏÀý£¬ÓÃÃüÁîg++ -o hello hello.cpp£¬»Ø³µºó£¬³öÏÖÒ»¸ö±àÒë½á¹û´°¿Ú¡£
£¨4£©Ö´ÐÐÉú³ÉµÄ½á¹ûÎļþ¡£Ö´ÐÐEsc-x shell£¬»Ø³µºó³öÏÖÒ»¸öÃüÁîÐд°¿Ú¡£
ÔÚÆäÖÐÖ´ÐÐÃüÁî $ ./hello¡£
£¨5£©»Øµ½Ô´Âë´°¿Ú¡£Ö´ÐÐ C-x b£¬³öÏÖminibuffer£¬ÌáʾÄãÊäÈëÒª»»µ½Äĸö»º³å¡£
ÊäÈ뻺³åÃû³Æ¼´¿É¡£ÈôËýÌáʾµÄÈ´Éú»º³å¾ÍÊÇÄãҪȥµÄ´°¿Ú£¬Ö±½Ó»Ø³µ¼´¿É¡£
£¨6£©²»ÏëÔÚminibufferÖÐÊäÈëÈκζ«Î÷£¬Ö´ÐÐC-g£¬¾ÍÀ뿪ÁËÕâ¸öminibuffer¡£
£¨7£©É±ËÀij¸ö»º³å¡£Ö´ÐÐ C-x k£¬³öÏÖminibuffer£¬ÌáʾÄãÊäÈëÊÇÄĸö»º³å¡£
ÊäÈëÃû³Æ£¬»Ø³µ¼´¿É¡£
£¨8£©Ö»±£Áôµ±Ç°¹â±êËùÔڵĴ°¿Ú£¬ÆäËû´°¿Ú¹Ø±Õ¡£Ö´ÐÐ C-x 1¡£
ÆÁÄ»ÉϳöÏÖ¶à¸ö´°¿Úʱ£¬´ÓÒ»¸ö´°¿ÚÌøµ½ÁíÒ»¸ö´°¿Ú£¬Ö´ÐÐ C-x o£¨×ÖĸO£©¡£


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......

Linux µÄ¶àÏ̱߳à³ÌµÄ¸ßЧ¿ª·¢¾­Ñé

2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾­Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......

ÅäÖÿª·¢Ö§³Ö¸ß²¢·¢TCPÁ¬½ÓµÄLinuxÓ¦ÓóÌÐòÈ«¹¥ÂÔ

Ô­Îļû£ºhttp://www.cppblog.com/flashboy/articles/47012.html
1¡¢ÐÞ¸ÄÓû§½ø³Ì¿É´ò¿ªÎļþÊýÏÞÖÆ
   ÔÚLinuxƽ̨ÉÏ£¬ÎÞÂÛ±àд¿Í»§¶Ë³ÌÐò»¹ÊÇ·þÎñ¶Ë³ÌÐò£¬ÔÚ½øÐи߲¢·¢TCPÁ¬½Ó´¦Àíʱ£¬×î¸ßµÄ²¢·¢ÊýÁ¿¶¼ÒªÊܵ½ÏµÍ³¶ÔÓû§µ¥Ò»½ø³Ìͬʱ¿É´ò¿ªÎļþÊýÁ¿µÄÏÞÖÆ(ÕâÊÇÒòΪϵͳΪÿ¸öTCPÁ¬½Ó¶¼Òª´´½¨Ò»¸ösocket¾ä±ú£¬Ã¿¸ ......

Linux¸ºÔؾùºâ

http://www.askwan.com/post/28/
haproxy+keepalived
LinuxÆóÒµ¼¯Èº
http://book.51cto.com/art/200806/76015.htm#
µÚÒ»²½:rsyncͬ²½webÊý¾Ý£¨²âÊÔͨ¹ý²¢ÇÒ×Ô¼º¼ÓÈëÁËsshµÄRSA keyÑéÖ¤£©
http://www.linuxsir.org/main/?q=node/256   rsync ·þÎñÆ÷¼ÜÉè·½·¨ v0.1b £¨ÕýÔÚÐÞ¶©ÖУ©
µÚ¶þ²½:°²×°heartbeat²¢ÇÒ¿ ......

linux³£ÓÃcº¯Êý ÎļþȨÏÞ¿ØÖÆƪ

access£¨ÅжÏÊÇ·ñ¾ßÓдæÈ¡ÎļþµÄȨÏÞ£©
¡¡¡¡Ïà¹Øº¯Êý  stat£¬open£¬chmod£¬chown£¬setuid£¬setgid
¡¡¡¡±íÍ·Îļþ  #include<unistd.h>
¡¡¡¡¶¨Ò庯Êý  int access(const char * pathname,int mode);
¡¡¡¡º¯Êý˵Ã÷  access()»á¼ì²éÊÇ·ñ¿ÉÒÔ¶Á/дijһÒÑ´æÔÚµÄÎļþ¡£²ÎÊýmodeÓм¸ÖÖÇé¿ö×éºÏ£¬R_OK ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ