LinuxÏÂPatchµÄÓ¦ÓúÍÖÆ×÷·½·¨½éÉÜ
LinuxÏÂPatchµÄÓ¦ÓúÍÖÆ×÷·½·¨½éÉÜ £¨1£©
·¢²¼Ê±¼ä£º2007.04.19 06:10 À´Ô´£ºÈüµÏÍø¼¼ÊõÉçÇø ×÷Õߣºskid
ÒòΪÔÚu-bootÒÆÖ²¹ý³ÌÖУ¬Óм¸´¦Í¨ÓÃÎļþÒªÐ޸ģ¬Èç¹ûÿ´Î¶¼ÒªÊÖ¶¯Ð޸ľÍÌ«Âé·³ÁË¡£ÖÆ×÷²¹¶¡¿ÉÒÔ½â¾öÕâ¸öÎÊÌâ¡£
ѧϰ×ÊÁϵÄÊÕ¼¯±È½Ï¼òµ¥£¬·½·¨Ò»ÀàËÆÓÚÕâÖÖ³õ¼¶ÎÊÌâÍøÉÏ×ÊÁϷdz£·á¸»£¬google»òÕßbaiduËÑË÷һϣ¬È»ºóÑ¡ÔñÓмÛÖµµÄ×ÊÁÏ£¬·½·¨¶þÊÇÔĶÁmanÔÚÏßÎĵµ¡£Íê³ÉÊÕ¼¯¹¤×÷£¬µ±È»×îÖÕÒªÔÚ×Ô¼ºµÄLinuxÉÏ×÷ʵÑ飬±È½Ï×ܽᣬÏû»¯ÎüÊÕΪ×Ô¼ºµÄ¶«Î÷¡£Òª³ýÈ¥ÕâôһÖÖ´íÎó˼Ï룺һ¶¨ÒªÑ§È«¡£ÒªÖªµÀ£¬Ò»´ÎѧȫÊDz»¿ÉÄܵģ¬Ö»ÄÜÏÈѧϰ×îΪ³£Óõģ¬ÔÚÒԺ󲻶Ïʵ¼ùµÄ¹ý³ÌÖÐÖ𲽵ķḻ£¬×îÖÕ´ïµ½±È½Ï¸ßµÄˮƽ¡£°ÑÎÕµÄÔÔòÊÇ£ºÈÕÓÐËùѧ£¬Ñ§ÒÔÖÂÓã¬ÓÃÒÔ´Ùѧ¡£
Ê×ÏȽéÉÜÒ»ÏÂdiffºÍpatch¡£ÔÚÕâÀï²»»á°ÑmanÔÚÏßÎĵµÉÏËùÓеÄÑ¡Ï½éÉÜһϣ¬ÄÇÑùҲûÓбØÒª¡£ÔÚ99£¥µÄʱ¼äÀÎÒÃÇÖ»»áÓõ½¼¸¸öÑ¡Ïî¡£ËùÒÔ±ØÐëѧ»áÕ⼸¸öÑ¡Ïî¡£
1¡¢diff
NAME
diff - find differences between two files
SYNOPSIS
diff [options] from-file to-file
¼òµ¥µÄ˵£¬diffµÄ¹¦ÄܾÍÊÇÓÃÀ´±È½ÏÁ½¸öÎļþµÄ²»Í¬£¬È»ºó¼Ç¼ÏÂÀ´£¬Ò²¾ÍÊÇËùνµÄdiff²¹¶¡¡£Óï·¨¸ñʽ£ºdiff ¡¾Ñ¡Ïî¡¿ Ô´Îļþ£¨¼Ð£© Ä¿µÄÎļþ£¨¼Ð£©£¬¾ÍÊÇÒª¸øÔ´Îļþ£¨¼Ð£©´ò¸ö²¹¶¡£¬Ê¹Ö®±ä³ÉÄ¿µÄÎļþ£¨¼Ð£©£¬ÊõÓïÒ²¾ÍÊÇ“Éý¼¶”¡£ÏÂÃæ½éÉÜÈý¸ö×îΪ³£ÓÃÑ¡Ï
-r ÊÇÒ»¸öµÝ¹éÑ¡ÏÉèÖÃÁËÕâ¸öÑ¡Ïdiff»á½«Á½¸ö²»Í¬°æ±¾Ô´´úÂëĿ¼ÖеÄËùÓжÔÓ¦ÎļþÈ«²¿¶¼½øÐÐÒ»´Î±È½Ï£¬°üÀ¨×ÓĿ¼Îļþ¡£
-N Ñ¡ÏîÈ·±£²¹¶¡Îļþ½«ÕýÈ·µØ´¦ÀíÒѾ´´½¨»òɾ³ýÎļþµÄÇé¿ö¡£
-u Ñ¡ÏîÒÔͳһ¸ñʽ´´½¨²¹¶¡Îļþ£¬ÕâÖÖ¸ñʽ±Èȱʡ¸ñʽ¸ü½ô´ÕЩ¡£
2¡¢patch
NAME
patch - apply a diff file to an original
SYNOPSIS
patch [options] [originalfile [patchfile]]
but usually just
patch -pnum
¼òµ¥µÄ˵£¬patch¾ÍÊÇÀûÓÃdiffÖÆ×÷µÄ²¹¶¡À´ÊµÏÖÔ´Îļþ£¨¼Ð£©ºÍÄ¿µÄÎļþ£¨¼Ð£©µÄת»»¡£ÕâÑù˵¾ÍÒâζ×ÅÄã¿ÉÒÔÓÐÔ´Îļþ£¨¼Ð£©¨D¨D>Ä¿µÄÎļþ£¨¼Ð£©£¬Ò²¿ÉÒÔÄ¿µÄÎļþ£¨¼Ð£©¨D¨D>Ô´Îļþ£¨¼Ð£©¡£ÏÂÃæ½éÉܼ¸¸ö×î³£ÓÃÑ¡Ï
-p0 Ñ¡ÏîÒª´Óµ±Ç°Ä¿Â¼²éÕÒÄ¿µÄÎļþ£¨¼Ð£©
-p1 Ñ¡ÏîÒªºöÂÔµôµÚÒ»²ãĿ¼£¬´Óµ±Ç°Ä¿Â¼¿ªÊ¼²éÕÒ¡£
ÔÚÕâÀïÒÔʵÀý˵Ã÷£º
--- old/modules/pcitable Mon Sep 27 11:03:56 1999
+++ new/modules/pcitable Tue Dec 19 20:05:41 2000
Èç¹ûʹÓòÎÊý-p0£¬
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
½ñÌìµÚÒ»´ÎÊÔ×ÅÔÚLinuxÏÂдC³ÌÐò£¬°ÑÓöµ½µÄÎÊÌâ¼Ç¼һÏÂ
1. ʹÓÃemacsÃüÁî±à¼³ÌÐòÎļþ£¬ÎÒÖ±½ÓÔÚTerminalÀïÊäÈëÁËemacs£¬Ð´ºÃ³ÌÐò£¬¹Ø±Õ£¬½á¹ûºÍwindowsÀï²»Ò»Ñù£¬²¢Ã»ÓÐÈκÎSaveFileDialogÖ®ÀàµÄ¶Ô»°¿òµ¯³öÀ´£¬×Ô¼ºÐ´µÄ¶«Î÷Ò²²»ÖªµÀ±£´æµ½ÄÄÀïÁË£¬¶øÇÒFile²Ëµ¥ÀïҲûÓÐNewÕâÑùµÄÑ¡Ïî¡£ºóÀ´²ÅÖªµÀ£¬ÔÀ´ÊǵÃÔÚemacsÃüÁîºó ......
linuxÏÂoracle°²×°£º
Oracle¹«Ë¾Ðû³ÆÔÚLinuxÏ°²×°Oracle9iÊý¾Ý¿âÖÁÉÙÒªÓÐ512MBµÄÄÚ´æºÍÖÁÉÙ1GB»òÕßÁ½±¶
ÄÚ´æ´óСµÄ½»»»¿Õ¼ä£¬¶ÔÓÚϵͳÄÚ´æ´óÓÚ2GBµÄ·þÎñÆ÷£¬½»»»¿Õ¼ä¿ÉÒÔ½éÓÚ2GB—4GBÖ®¼ä¡£
Èç¹ûÊÇΪÁËÔÚһ̨½öÓÐ256MÄÚ´æµÄÆÕͨPC»úÉÏÊÔÓÃOracle9 ......
×î½üÔÚÍøÉÏ¿´Á˼¸¸öLinuxÄں˱àÒë·½ÃæµÄÎÄÕ£¬ÓÉÓںܶàÕâÑùµÄÌû×Ó£¬Ëæ±ã¿´Á˼¸¸ö¶¼²î²»¶à°É¡£ÔÚÎÒÕæÕý×Ô¼º¶¯ÊÖȥʵ¼ùµÄʱºò£¬³öÏÖÁ˺ܶàµÄÎÊÌâ¡£¸Ð¾õÊDz»ÄÜÍêÈ«°´ÕÕ±ðÈ˵ķ½·¨À´£¬ÒòΪÄãÃǵĵ±Ê±µÄ»úÆ÷¹¤×÷»·¾³¿ÉÄÜÊDz»Ò»ÑùµÄ¡£Õû¸ö¹ý³ÌÇúÕÛ¿²¿À¡£µ«ÊÇ×îºó»¹Êdzɹ¦À²£¡ÏÂÃæÎÒ½«¸ø³ö×Ô¼ºµÄʵ¼ù¹ý³ÌºÍ×¢Òâµã¡£
Ò»,ΪʲôҪ± ......