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£©¡£
Ïà¹ØÎĵµ£º
×ÜÀÀ
ÓÃ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 ......
1 ÒýÑÔ
¡¡¡¡Ị̈߳¨thread£©¼¼ÊõÔçÔÚ60Äê´ú¾Í±»Ìá³ö£¬µ«ÕæÕýÓ¦ÓöàÏ̵߳½²Ù×÷ϵͳÖÐÈ¥£¬ÊÇÔÚ80Äê´úÖÐÆÚ£¬solarisÊÇÕâ·½ÃæµÄٮٮÕß¡£´«Í³µÄUnixÒ²Ö§³ÖÏ̵߳ĸÅÄµ«ÊÇÔÚÒ»¸ö½ø³Ì£¨process£©ÖÐÖ»ÔÊÐíÓÐÒ»¸öỊ̈߳¬ÕâÑù¶àÏ߳̾ÍÒâζ×Ŷà½ø³Ì¡£ÏÖÔÚ£¬¶àÏ̼߳¼ÊõÒѾ±»Ðí¶à²Ù×÷ϵͳËùÖ§³Ö£¬°üÀ¨Windows/NT£¬µ±È»£¬Ò²°üÀ¨Linux¡£
......
ÓÉÓÚ£¬ÐèÒª¶¨Ê±±¸·ÝÊý¾Ý£¬ËùÒÔʹÓà 7zaÀ´´ò°ü¡£¡£¡£ Ä¿±êÎļþ¼Ð¾³£º¬ÓдóÁ¿µÄÓû§ÉÏ´«Í¼Æ¬£¬ÕâЩͼƬÎÞÐè¸ßÃܶȶ¨ÆÚ±¸·Ý£¬ËùÒÔ£¬Ï£ÍûÔÚ´ò°üµÄʱºòÅųýËüÃÇ¡£¡£
Ñо¿ÁËÒ»ÏÂ7zaµÄÃüÁîÐУ¬´óÖ¿ÉÒÔÕâÑùÍê³É£º
7za a '-x!backup/fold/' test.zip backup
&nb ......
Ò»¡¢±àÒëºÍÁ¬½Ó
Ò»°ãÀ´Ëµ£¬Èç¹û¿âµÄÍ·Îļþ²»ÔÚ /usr/include Ŀ¼ÖУ¬ÄÇôÔÚ±àÒëµÄʱºòÐèÒªÓà -I
²ÎÊýÖ¸¶¨Æä·¾¶¡£ÓÉÓÚͬһ¸ö¿âÔÚ²»Í¬ÏµÍ³ÉÏ¿ÉÄÜλÓÚ²»Í¬µÄĿ¼Ï£¬Óû§°²×°¿âµÄʱºòÒ²¿ÉÒÔ½«¿â°²×°ÔÚ²»Í¬µÄĿ¼Ï£¬ËùÒÔ¼´Ê¹Ê¹ÓÃͬһ¸ö¿â£¬ÓÉÓÚ¿âµÄ·¾¶µÄ
²»Í¬£¬Ôì³ÉÁËÓà -I ²ÎÊýÖ ......
ѧ¶«Î÷£¬ÍùÍùʵÀý²ÅÊÇ×îÈÃÈ˸ÐÐËȤµÄ£¬ÀÏÊÇѧ»ù´¡ÀíÂÛ£¬²»¶¯ÊÖ£¬¸Ð¾õûÓгɾ͸У¬ºÇºÇ¡£
ÏÂÃæÏÈÀ´Ò»¸öʵÀý¡£ÎÒÃÇͨ¹ý´´½¨Á½¸öÏß³ÌÀ´ÊµÏÖ¶ÔÒ»¸öÊýµÄµÝ¼Ó¡£
»òÐíÕâ¸öʵÀýûÓÐʵ¼ÊÔËÓõļÛÖµ£¬µ«ÊÇÉÔ΢¸Ä¶¯Ò»Ï£¬ÎÒÃǾͿÉÒÔÓõ½ÆäËûµØ·½È¥À¡£
ÏÂÃæÊÇÎÒÃǵĴúÂ룺
/*thread_example.c : c multiple thread p ......