[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:[Ubuntu] Miniupnp installation Install Package apt-get install libssl-dev apt-get install iptables-dev Start to compilemake -f Makefile.linux Execute miniupnpd root@freeman-lapto… Read More[minicom][Archlinux] How to solve ttyUSB0 is locked Q: [freeman@localhost script]$ sudo minicom -D /dev/ttyUSB1 [sudo] password for freeman: Device /dev/ttyUSB1 is locked. A: Please type minicom … Read More[Linux] MiniupnpdStart miniupnpd miniupnpd -i nfe0 -a 10.0.0.1 miniupnpd -f miniupnpd.conf -d Reference: Howto for miniupnpd? [miniupnpd] miniupnpd 的 uPnP daemon使… Read More[Fedora 23] Install miniupnpInstall package yum install -y gcc yum install -y bison yum install -y flex yum install -y libnftnl-devel yum install -y ncurses-devel yum in… Read More[Raspberry Pi][QEMU] Emulated Raspberry Pi by using qemu 1. Download image - 2012-12-16-wheezy-raspbian.zip 2. Mount the image using loopback $ sudo kpartx -a -v 2012-12-16-wheezy-raspbian.img add map … Read More
0 意見:
張貼留言