linuxһЩÃüÁî
Linux³£ÓÃÃüÁî²Î¿¼
1. diff
ÓÃÓÚÎļþ±È½Ï¡£Ò»°ãfile1ÊÇÔÎļþ£¬file2ÊÇУ¨Ð޸Ĺý£©µÄÎļþ¡£
½ô´Õģʽ£ºdiff -u file1 file2
diff -u file1 file2
--- file1 2010-03-06 02:11:43.000000000 +0000
+++ file2 2010-04-14 10:06:45.000000000 +0000
@@ -21,11 +21,9 @@
eeeeee
ffffff
222222
-jjjjjj
-ssssss
-dddddd
-wwwwww
-eeeeee
+bbbbbb
+cccccc
+vvvvvv
zzzzzz
999999
888888
ºöÂÔ¿Õ¸ñ£ºdiff -ub file1 file2
ºöÂÔËùÓпհ××Ö·û£¨Á¬TABÒ²»á±»ºöÂÔ£©£ºdiff -u --ignore-all-space file1 file2
2. find
²éÕÒÎļþÄÚÈÝÖк¬ÓÐij×Ö·û´®µÄÎļþ
find
. -type f -regex ".*\.c" -exec grep "string" {} \; -print
ÕâÊÇÔÚ*.cÎļþÖвéÕÒstringµÄÃüÁ-print¿ÉÑ¡£¬´òÓ¡ÎļþÃûÓõġ£
3. grep
grep who /use/local -r
who ÊÇpattern£¬Èç¹ûº¬ÓÐÌØÊâ×Ö·ûÔòÒª¼ÓÉÏÒýºÅ
/usr/local ÊDzéÕÒ·¾¶
-r ÊÇoption£¬±íʾËùÓеÄÎļþ£¬ÇÒ¶Ô×ÓĿ¼µÝ¹é£¬µ«ÊÇÓÃÁËÕâ¸ö£¬¾Í²»ÄÜÖ¸¶¨*.cÖ®ÀàµÄ²ÎÊýÁË¡£
Ïà¹ØÎĵµ£º
¡¡Í¨¹ý SCSI ÃüÁî¹ÜÀí¼ÆËã»úÉϵÄÊý¾Ý£¬²¢½«Êý¾Ý´«Êäµ½ SCSI É豸¡£ÔÚ±¾ÎÄÖУ¬×÷Õß½éÉÜÁËһЩ SCSI ÃüÁÒÔ¼°ÔÚ Linux? ÖÐʹÓà SCSI API ʱִÐÐ SCSI ÃüÁîµÄ·½·¨¡£Ëû½éÉÜÁË SCSI ¿Í»§»ú/·þÎñÆ÷Ä£Ðͺʹ洢 SCSI ÃüÁîµÄ±³¾°¡£½ÓÏÂÀ´½âÊÍ Linux ͨÓà SCSI Çý¶¯Æ÷ API£¬²¢Ìṩһ¸öʾÀý£¬ÌÖÂÛʹÓÃͨÓÃÇý¶¯Æ÷Ö´ÐÐ inquiry ÃüÁîµÄÏ ......
ÐźÅÊÇLinux±à³ÌÖзdz£ÖØÒªµÄ²¿·Ö£¬±¾ÎĽ«Ïêϸ½éÉÜÐźŻúÖƵĻù±¾¸ÅÄî¡¢Linux¶ÔÐźŻúÖƵĴóÖÂʵÏÖ·½·¨¡¢ÈçºÎʹÓÃÐźţ¬ÒÔ¼°ÓйØÐźŵļ¸¸öϵͳ
µ÷Óá£
ÐźŻúÖÆÊǽø³ÌÖ®¼äÏ໥´«µÝÏûÏ¢µÄÒ»ÖÖ·½·¨£¬ÐźÅÈ«³ÆΪÈíÖжÏÐźţ¬Ò²ÓÐÈ˳Æ×÷ÈíÖжϡ£´ÓËüµÄÃüÃû¿ÉÒÔ¿´³ö£¬ËüµÄʵÖʺ ......
Ç°ÃæÁ½½ÚÒѾ½éÉÜÁËÓйØÐźŵĴ󲿷ÖÖª
ʶ¡£ÕâÒ»½ÚÎÒÃÇÀ´Á˽âÒ»ÏÂÕâЩϵͳµ÷Óá£ÆäÖУ¬ÏµÍ³µ÷ÓÃsignalÊǽø³ÌÓÃÀ´É趨ij¸öÐźŵĴ¦Àí·½·¨£¬ÏµÍ³µ÷ÓÃkillÊÇÓÃÀ´·¢ËÍÐźŸøÖ¸¶¨½ø³ÌµÄ¡£Õâ
Á½¸öµ÷ÓÿÉÒÔÐγÉÐźŵĻù±¾²Ù×÷¡£ºóÁ½¸öµ÷ÓÃpauseºÍalarmÊÇͨ¹ýÐźÅʵÏֵĽø³ÌÔÝÍ£ºÍ¶¨Ê±Æ÷£¬µ÷ÓÃalarmÊÇͨ¹ýÐźÅ֪ͨ½ø³Ì¶¨Ê±Æ÷µ ......
xpÏ´ÓÓ²ÅÌ°²×°Linux£¬°üÀ¨redflag6 RedHat9 fc4¶¼ÀàËÆ£¨¶¼²»Ð£¡£©£¬µ«ÊÇ°²×°¹ý³Ì¾ø¶ÔÏêϸ£¡
1¡£Ê×ÏÈÊÇ×¼±¸Ìõ¼þ
£¨1£© ÌÚ³öµØ·½£ºxpÏÂÒªÓеط½·ÅLinuxµÄ¾µÏñ£¨.iso£©£¬¶øÇÒËùÔÚ´ÅÅÌҪΪfat32¸ñʽ£¬¿ÉÒÔÓÃnorton partitionmagic£¨ºÜ²»´íµÄ¹¤¾ß£¬ÍøÉϺܶàÏÂÔØ£¡£©½«´ÅÅ̸ñʽת»» ²»¹ýÒòΪÈí ......
ÎÒ°ÑÎÒÕûºÏapache£«tomcat£«mod_webapp.soµÄ¹ý³Ì·¢ÉÏÀ´¡£ÆäÖаüÀ¨ÁËÐí¶àÇ°È˵ÄÐĵÃÓë¾Ñé
1.ËùÐèµÄÈí¼þ°ü
¡¡¡¡j2sdk-1_4_1_02-linux-i586.bin(jdk1.4.1)
¡¡¡¡Apache2.0.40 (Red Hat Linux8.0×Ô´ø)   ......