ÈçºÎ¿ªÆô¹Ø±Õlinux·À»ðǽ
ÈçºÎ¿ªÆô¹Ø±Õlinux·À»ðǽ
¡¡¡¡ÖØÆôºóÉúЧ
¡¡¡¡¿ªÆô£ºchkconfig iptables on
¡¡¡¡¹Ø±Õ£ºchkconfig iptables off
¡¡¡¡¼´Ê±ÉúЧ£¬ÖØÆôºóʧЧ
¡¡¡¡¿ªÆô£ºservice iptables start
¡¡¡¡¹Ø±Õ£ºservice iptables stop
¡¡¡¡»ò
¡¡¡¡¹Ø±Õ£º /etc/rc.d/init.d/iptables stop
¡¡¡¡Æô¶¯£º /etc/rc.d/init.d/iptables start
¡¡¡¡²é¿´·Å»ðǽ£ºiptables -L
Ïà¹ØÎĵµ£º
¡¡¡¡Linux×÷Ϊһ¸ö¶àÈÎÎñ»·¾³£¬ÔÊÐíÓû§Í¬Ê±Ö´ÐжàÏîÈÎÎñ£¬ÀýÈç²é¿´ÏµÍ³Çé¿ö¡¢±¸·Ý×ÊÁÏ¡¢±à¼ÎļþºÍ´òÓ¡ÎļþµÈ¡£
¡¡¡¡¶ÔÓÚºÄʱ³¤µÄÈÎÎñ²»Ó¦¸ÃÈÃËüÔÚǰ̨ÈÎÎñÖÐÖ´ÐУ¬¶øÓ¦¸Ã½»¸øºǫ́ÈÎÎñÈ¥Ö´ÐС£ÕâÑùǰ̨ÈÎÎñ¿É¼ÌÐøÕý³£ÔË×÷ÆäËüµÄ²Ù×÷£¬²»Óõȴý¡£Ê¾ÀýÈçÏ£º
¡¡¡¡# find / -name testing &
¡¡¡¡# fg
¡¡¡¡Èç¹ûÏëÒ ......
http://www.ibm.com/developerworks/cn/linux/l-cn-memleak/ ½éÉÜÁË»ù±¾µÄ²âÊÔÀàÐͺÍÔÀí
http://blog.csdn.net/rufeng18/archive/2008/11/17/3322099.aspx
http://www.ibm.com/developerworks/cn/linux/l-pow-debug/
http://xueyueming.blog.163.com/blog/static/60411785200981045547110/
http://zhangyafeikimi.java ......
ÕâÊÇCµÄÔ³ÌÐò
#include <stdio.h>
#include <regex.h>
int main(int argc, char** argv)
{
regex_t reg;
regmatch_t pm[10];
char *pattern;
char buf[50];
const size_t nmatch = 10;
pattern = argv[1];
int result = regcomp(®, pattern, REG_EXTENDED);
while( fgets ......
×÷ÕߣºÀîÇ¿,»ªÇåÔ¶¼ûǶÈëʽѧԺ½²Ê¦¡£
ÔÚLinuxÉ豸Çý¶¯ÖУ¬É豸ºÅÉèÒ»¸öºÜÖØÒªµÄ¸ÅÄîºÍ±äÁ¿¡£²»ÂÛÊÇÖ÷É豸ºÅ£¬»¹ÊÇ´ÎÉ豸ºÅ£¬ÔÚÉ豸Çý¶¯Öж¼Õ¼¾ÝÁ˺ÜÖØÒªµÄµØλ¡£ÄÇôËûÔÚKernelÖÐÊÇÈçºÎ²Ù×÷µÄ£¿Õâ¸öÊý¾Ý½á¹¹¶¼ÊÇͨ¹ýÄÇЩº¯Êý¿ÉÒÔºÜÈÝÒ×µÄÔÚÎÒÃÇдLinuxÉ豸Çý¶¯Ä£¿éʱ±»ÎÒÃÇËùʹÓÃÄØ£¿
ÔÚinclude/linux/type.hÎļþÖÐÎÒÃÇÄ ......