fork compare to exec in linux c program
pid_t pid=fork()
it has 3 situation for the return result pid
0 child
>0 parent process
<0 fork fail
fork create a new process and it parent live alse when the child process had been created
Ïà¹ØÎĵµ£º
×ÜÀÀ
ÓÃ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 ......
# uname -a # ²é¿´ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
¡¡¡¡# head -n 1 /etc/issue # ²é¿´²Ù×÷ϵͳ°æ±¾
¡¡¡¡# cat /proc/cpuinfo # ²é¿´CPUÐÅÏ¢
¡¡¡¡# hostname&nb ......
Ò»£®Ìî¿ÕÌâ
1. ÔÚLinuxϵͳÖУ¬ÒÔ ·½Ê½·ÃÎÊÉ豸 ¡£
2. LinuxÄÚºËÒýµ¼Ê±£¬´ÓÎļþ ÖжÁȡҪ¼ÓÔØµÄÎļþϵͳ¡£
3. LinuxÎļþϵͳÖÐÿ¸öÎļþÓà À´±êʶ¡£
4. È«²¿´ÅÅÌ¿éÓÉËĸö²¿·Ö×é³É£¬·Ö±ðΪ ¡£
5. Á´½Ó ......
¡¡¡¡LinuxÄں˰汾ÓÐÁ½ÖÖ:Îȶ¨°æºÍ¿ª·¢°æ.Îȶ¨µÄÄں˾ßÓй¤Òµ¼¶µÄÇ¿¶È,¿ÉÒԹ㷺µØÓ¦ÓúͲ¿Êð.еÄÎȶ¨ÄÚºËÏà¶ÔÓڽϾɵÄÖ»ÊÇÐÞÕýһЩbug»ò¼ÓÈëһЩеÄÇý¶¯³ÌÐò.¶ø¿ª·¢°æÄÚºËÓÉÓÚÒªÊÔÑé¸÷ÖÖ½â¾ö·½°¸,ËùÒԱ仯ºÜ¿ì.ÕâÁ½ÖÖ°æ±¾ÊÇÏ໥¹ØÁª,Ï໥ѻ·µÄ.
LinuxÄں˵ÄÃüÃû»úÖÆ:
num.nu ......
µÚÒ»²½:ÏÂÔØFLASHµÄ²å¼þ
http://www.adobe.com/ÔÚÕâ¸öÒ³ÃæÉÏÓкܶà²å¼þ,ÔÚÕâÀïÄãÖ»ÓÃÏÂÔØ
ÎļþÃû×Ö:install_flash_player_9_linux.tar.gz
µÚ¶þ²½:½âѹÎļþ°ü
µ±Ç°µÄ¹¤×÷Ŀ¼ÊÇ:USR
[root@isitqnx usr]#tar zvxf install_flash_player_7_linux.tar.gz µÃµ½Ò»¸öͬÃûÎļ ......