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

linux shellÖк¯Êý²ÎÊý¼°Æä±äÁ¿

linuxÖеÄSHELLº¯ÊýÊÇ¿ÉÒÔ´ø²ÎÊýµÄ.
====´úÂë===
#!/bin/bash
function show()
{
echo $0        #·µ»Ø½Å±¾±¾ÉíÃû×Ö¶ø²»ÊǺ¯ÊýÃû
echo $1        #·µ»Øµ÷ÓÃʱµÄµÚÒ»¸ö²ÎÊý
.
.
.
echo $9         #·µ»Øµ÷ÓÃʱµÄµÚ¾Å¸ö²ÎÊý
}
echo "Begin"   #³ÌÐò¿ªÊ¼
show             #²»´ø²ÎÊýµÄµ÷Ó÷µ»Øshell±¾ÉíµÄÃû×Ö
show local     #´ø²ÎÊýµ÷ÓÃ.·µº¯Êý±¾ÉíµÄÃû×Ö¼Ó²ÎÊýlocal
####end#####
ÐèҪעÒâµÄÊÇ:
Ïòº¯Êý´«µÝ²ÎÊý¾ÍÏñÔÚÒ»°ã½Å±¾ÖÐʹÓÃÌØÊâ±äÁ¿$1£¬$2Ò»Ñù...º¯ÊýÈ¡µÃËù´«²ÎÊýºó,½«Ô­Ê¼²ÎÊý´«»Øshell½Å±¾,Òò´Ë×îºÃÏÈÔÚº¯ÊýÄÚÖØÐÂÉèÖñäÁ¿±£´æËù´«µÄ²ÎÊý.ÕâÑùÈç¹ûº¯ÊýÓÐÒ»µã´íÎó,¾Í¿ÉÒÔͨ¹ýÒѾ­±¾µØ»¯µÄ±äÁ¿ÃûѸËÙ¼ÓÒÔ¸ú×Ù.
»¹ÓбäÁ¿µÄ×÷ÓÃÓò:
º¯ÊýÄÚ²¿±äÁ¿×÷ÓÃÓòÖ»ÊÇÔÚº¯ÊýÄÚ²¿
¶øÖ÷SHELL±äÁ¿µÄ×÷ÓÃÓòÔÚÕû¸öshellÖÐ...°üÀ¨Æäº¯Êý
»¹Óоֲ¿±äÁ¿ÉùÃ÷·½Ê½:
local valuename=value
´ËÉùÃ÷¸ñʽµÄ±äÁ¿Ö»ÄÜÔÚ±äÁ¿ÉùÃ÷²¿·ÖʹÓÃ....
˳±ãÍÆ¼öÒ»¸öѧϰµÄBOLG:http://xiaowang.net/


Ïà¹ØÎĵµ£º

linux jdk °²×°ÓиÐ

×¢Òâ×Ô¼ºµÄÄں˰汾 ÓÚ jdk °æ±¾ÎÊÌâ  £»»¹ÓÐ ¾ÍÊÇ Òª½âѹµ½ /usr/javaĿ¼Ï ºÜÖØÒª£¬Òª²»È»µÈ×ųԿàÍ·£»
Ò»¡¢ÏÂÔØJDK

×Ô¼ºÏÂÔØ°É£¬²½Öè²»ÓÃдÁ˰ɣ»ÎÒÏÂÔØµÄÊÇjdk
-1_6_0_11-linux-i586.bin
¶þ¡¢°²×°


(1)ÔÚusrÏÂн¨Ò»¸öjavaÎļþ¼Ð
#mkdir /usr/java
(2)ÎÒÓõÄWinSCP½«JDK
Îļþ·ÅÈ ......

LinuxÄÚºËVmallocÇøÓò´óСµÄ¼ÆËã

ÒÔǰ×Ô¼º¸ú×ÅÄÚºËÄÚ´æ¹ÜÀíµÄһЩºê¶¨Òå»­¹ýÄÚ´æ·Ö²¼Í¼
±ÈÈçVMALLOC_START, VMALLOC_END, FIXADDR_STARTµÈµÈ
Ò»Ö±ÒÔΪÕâЩֵÔÚʵ¼ÊÄÚºËÖжà¶àÉÙÉÙ»áÓÐÎó²î£¬Ã»Ï뵽ǰ¼¸Ìì¿´ÁËÒ»ÏÂ
¾ÓÈ»ÍêÈ«ÎǺϡ£
À´ÊÔ׿ÆËãÒ»ÏÂVmallocµÄ×Ü´óС£¬ÎªÁ˱ãÓÚ¼ÆËãÎÒÃÇÈÏΪ1GµÄÄں˿ռä´Ó0µØÖ·¿ªÊ¼¡£
Ê×ÏÈÎÒµÄÎïÀíÄڴ泬¹ýÁË896M£¬Òò´Ëhigh_ ......

Linux patchµÄÓ÷¨

Linux patchµÄÓ÷¨
http://hi.baidu.com/issaria/blog/item/b04527ec816967d72f2e2184.html
2008-08-14 14:50
Ò²ÐíÖ»ÊÇÎÒÒ»¸öÈ˱Ƚϱ¿£¬Ã¿´ÎÅöµ½bug£¬ËäÈ»ÓÐÈ˸ø³ö²¹¶¡£¨patch£©£¬µ«ÊÇÈ´²»ÖªµÀÔõôʹÓá£Manual Page ( man patch )Ò²Ö»¸ø³ö patch -p(num) <patchfileÕâÑùµÄÓ÷¨£¬¾ßÌåÒ²²»ÖªµÀÔõÑùÈ·¶¨num£¬Èç¹ûÄãÒ²ÓÐ ......

linux½ø³Ìºǫ́ÔËÐеļ¸ÖÖ·½·¨


ÎÒÃǾ­³£»áÅöµ½ÕâÑùµÄÎÊÌ⣬Óà telnet/ssh µÇ¼ÁËÔ¶³ÌµÄ Linux ·þÎñÆ÷£¬ÔËÐÐÁËһЩºÄʱ½Ï³¤µÄÈÎÎñ£¬ ½á¹ûÈ´ÓÉÓÚÍøÂçµÄ²»Îȶ¨µ¼ÖÂÈÎÎñÖÐ;ʧ°Ü¡£ÈçºÎÈÃÃüÁîÌá½»ºó²»Êܱ¾µØ¹Ø±ÕÖÕ¶Ë´°¿Ú/ÍøÂç¶Ï¿ªÁ¬½ÓµÄ¸ÉÈÅÄØ£¿ÏÂÃæ¾ÙÁËһЩÀý×Ó£¬ Äú¿ÉÒÔÕë¶Ô²»Í¬µÄ³¡¾°Ñ¡Ôñ²»Í¬µÄ·½Ê½À´´¦ÀíÕâ¸öÎÊÌâ¡£
nohup/setsid/&
³¡¾°£º
Èç¹ûÖ» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ