LinuxÒôƵ±à³ÌÖ¸ÄÏ
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
H1 { margin-bottom: 0.21cm }
H1.western { font-family: "DejaVu Serif", serif }
H1.cjk { font-family: "AR PL UKai CN"; font-size: 24pt; font-style: normal; font-weight: bold }
H1.ctl { font-family: "AR PL UKai CN"; font-size: 24pt; font-weight: bold }
A:link { so-language: zxx }
-->
Linux
ÒôƵ±à³ÌÖ¸ÄÏ
ËäȻĿǰLinux
µÄÓÅÊÆÖ÷ÒªÌåÏÖÔÚÍøÂç·þÎñ·½Ã棬µ«ÊÂʵÉÏͬÑùÒ²ÓÐ×ŷdz£·á¸»µÄýÌ幦ÄÜ£¬±¾ÎľÍÊÇÒÔ¶àýÌåÓ¦ÓÃÖÐ×î»ù±¾µÄÉùÒôΪ¶ÔÏ󣬽éÉÜÈçºÎÔÚ
Linux
ƽ̨Ï¿ª·¢Êµ¼ÊµÄÒôƵӦÓóÌÐò£¬Í¬Ê±»¹¸ø³öÁËһЩ³£ÓõÄÒôƵ±à³Ì¿ò¼Ü¡£
¡¡¡¡Ò»¡¢Êý×ÖÒôƵ
¡¡¡¡ÒôƵÐźÅÊÇÒ»ÖÖÁ¬Ðø±ä»¯µÄÄ£ÄâÐźţ¬µ«¼ÆËã»úÖ»ÄÜ´¦ÀíºÍ¼Ç¼¶þ½øÖƵÄÊý×ÖÐźţ¬ÓÉ×ÔÈ»ÒôÔ´µÃµ½µÄÒôƵÐźűØÐë¾¹ýÒ»¶¨µÄ±ä»»£¬³ÉΪÊý×ÖÒôƵÐźÅ
Ö®ºó£¬²ÅÄÜË͵½¼ÆËã»úÖÐ×÷½øÒ»²½µÄ´¦Àí¡£
¡¡¡¡Êý×ÖÒôƵϵͳͨ¹ý½«Éù²¨µÄ²¨ÐÍת»»³ÉһϵÁжþ½øÖÆÊý¾Ý£¬À´ÊµÏÖ¶ÔÔʼÉùÒôµÄÖØÏÖ£¬ÊµÏÖÕâÒ»²½ÖèµÄÉ豸³£±»³ÆΪģ/
Êýת»»Æ÷£¨A/D
£©¡£A/D
ת
»»Æ÷ÒÔÿÃëÖÓÉÏÍò´ÎµÄËÙÂʶÔÉù²¨½øÐвÉÑù£¬Ã¿¸ö²ÉÑùµã¶¼¼Ç¼ÏÂÁËÔʼģÄâÉù²¨ÔÚijһʱ¿ÌµÄ״̬£¬Í¨³£³Æ֮ΪÑù±¾£¨sample
£©£¬¶øÿһÃëÖÓËù²ÉÑùµÄÊýÄ¿
Ôò³ÆΪ²ÉÑùƵÂÊ£¬Í¨¹ý½«Ò»´®Á¬ÐøµÄÑù±¾Á¬½ÓÆðÀ´£¬¾Í¿ÉÒÔÔÚ¼ÆËã»úÖÐÃèÊöÒ»¶ÎÉùÒôÁË¡£¶ÔÓÚ²ÉÑù¹ý³ÌÖеÄÿһ¸öÑù±¾À´Ëµ£¬Êý×ÖÒôƵϵͳ»á·ÖÅäÒ»¶¨´æ
´¢
λÀ´¼Ç¼Éù²¨µÄÕñ·ù£¬Ò»°ã³Æ֮Ϊ²ÉÑù·Ö±çÂÊ»òÕß²ÉÑù¾«¶È£¬²ÉÑù¾«¶ÈÔ½¸ß£¬ÉùÒô»¹Ôʱ¾Í»áԽϸÄå¡£
¡¡¡¡Êý×ÖÒôƵÉæ¼°µ½µÄ¸ÅÄî·Ç³£¶à£¬¶ÔÓÚÔÚLinux
ϽøÐÐÒôƵ±à³ÌµÄ³ÌÐòÔ±À´Ëµ£¬×îÖØÒªµÄÊÇÀí½âÉùÒôÊý×Ö»¯µÄÁ½¸ö¹Ø¼ü²½Ö裺²ÉÑùºÍÁ¿»¯¡£²ÉÑù¾ÍÊÇÿ
¸ôÒ»¶¨Ê±¼ä¾Í¶ÁÒ»´ÎÉùÒôÐźŵķù¶È£¬¶øÁ¿»¯ÔòÊǽ«²ÉÑùµÃµ½µÄÉùÒôÐźŷù¶Èת»»ÎªÊý×ÖÖµ£¬´Ó±¾ÖÊÉϽ²£¬²ÉÑùÊÇʱ¼äÉϵÄÊý×Ö»¯£¬¶øÁ¿»¯ÔòÊÇ·ù¶ÈÉϵÄÊý×Ö»¯¡£ÏÂ
Ãæ½éÉܼ¸¸öÔÚ½øÐÐÒôƵ±à³Ìʱ¾³£ÐèÒªÓõ½µÄ¼¼ÊõÖ¸±ê£º
¡¡¡¡1.
²ÉÑùƵÂÊ
¡¡¡¡²ÉÑùƵÂÊÊÇÖ¸½«Ä£ÄâÉùÒô²¨ÐνøÐÐÊý×Ö»¯Ê±£¬Ã¿ÃëÖÓ³éÈ¡Éù²¨·ù¶ÈÑù±¾µÄ´ÎÊý¡£²ÉÑùƵÂʵÄÑ¡ÔñÓ¦¸Ã×ñÑÄοü˹ÌØ£¨Harry
Nyquist
£©²ÉÑùÀíÂÛ£ºÈç¹û¶ÔijһģÄâÐźŽøÐвÉÑù£¬Ôò²ÉÑùºó¿É»¹ÔµÄ×î¸ßÐźÅƵÂÊÖ»ÓвÉÑùƵÂʵÄÒ»°ë£¬»òÕß˵ֻҪ²ÉÑùƵÂʸßÓÚÊäÈëÐźÅ×î¸ßƵÂʵÄÁ½
±¶£¬¾ÍÄÜ´Ó²ÉÑùÐźÅϵÁÐÖع¹ÔʼÐźš
Ïà¹ØÎĵµ£º
×ÜÀÀ
ÓÃ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 ......
2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......
ÔÚlinux ÉϵÄoracle sqlplus ²»ÄÜÀûÓà ÉÏ, Ï ¼üÀ´²é¿´ÃüÁî ¶ø¿àÄÕ. rlwarp ¹¤¾ß¿ÉÒÔ°ïÖúÎÒÃǽâ¾öÕâ¸öÎÊÌâ.
¹Ù·½ÏÂÔصØÖ·:http://utopia.knoware.nl/~hlub/uck/rlwrap/
Ò»:°²×°readline
OSµÄ°²×°¹âÅÌÀïÌṩÁËreadline°ü.
[root@oracle11g ~]# rpm -Uvh readline*
error: Failed dependencies: libtermcap-devel is nee ......
linuxµÄechoÃüÁî, ÔÚshell±à³ÌÖм«Îª³£ÓÃ, ÔÚÖÕ¶ËÏ´òÓ¡±äÁ¿valueµÄʱºòÒ²Êdz£³£Óõ½µÄ, Òò´ËÓбØÒªÁ˽âÏÂechoµÄÓ÷¨
echoÃüÁîµÄ¹¦ÄÜÊÇÔÚÏÔʾÆ÷ÉÏÏÔʾһ¶ÎÎÄ×Ö£¬Ò»°ãÆðµ½Ò»¸öÌáʾµÄ×÷Óá£
¸ÃÃüÁîµÄÒ»°ã¸ñʽΪ£º echo [ -n ] ×Ö·û´®
ÆäÖÐÑ¡Ïîn±íʾÊä³öÎÄ×Öºó²»»»ÐУ»×Ö·û´®ÄܼÓÒýºÅ£¬Ò²Äܲ»¼ÓÒýºÅ¡£ÓÃechoÃüÁîÊä³ö¼ÓÒýº ......