[Patch] How to use Patch command to patch code Posted by Computer Newbie on 晚上11:02 in Linux, Ubuntu / No comments Create 1.txt 3 4 5 Create 2.txt 12 3 4 Create a patch file diff -u 1.txt 2.txt > 1.patch Use patch file to patch 2.txt patch 2.txt -i ./1.patch Reference : Patch function Share This: Facebook Twitter Google+ Stumble Digg 以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook Related Posts:[Vim + Ctags +Cscope] Edit Source code toolCtag : [ctags] search all tags from top directory to end Graphical vi-vim Cheat Sheet and Tutorial cscope linux -- use vim to replace source insight… Read More[Synergy] libQtGui.so.4 have problemInstall libqtgui4 libqtcore4 libqt4-webkit libqt4-network Reference: http://zoomq.qiniudn.com/ZQScrapBook/ZqFLOSS/data/20110422145226/ … Read More[ubuntu][net-snmp] How to install net-snmp into Ubuntu 10.04 1. Catch net-snmp-5.7.2 from net-snmp web site. tar xvf net-snmp-5.7.2.tar.gz 2. Install dependent library ( libperl-dev ) sudo apt-get install libp… Read More[Tool] Linux Tool Tool [Test][Firewall] Send Flood_SYN_Attack in lab, and not affect other [Test][Firewall] hping3 - Attack to firewall [Linux][screen] screen (full-… Read More[metasploit] Install metasploit on ubuntu 12.04apt-get update apt-get upgrade apt-get -y install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libreadline5 libsqlite3-dev libpcap-de… Read More
0 意見:
張貼留言