skip to main
|
skip to sidebar
Linux Blog
Home
Posts RSS
About
Forum
HowTo use "diff" and "patch"
You have created a program "
prog.c
", saved as this name and also copied to "
prog.c.old
".
You post "
prog.c
" to users. Next, you make changes to prog.c and want to release a patch
$ diff -c prog.c.old prog.c > prog.patch
Now, users can get the latest updates by running.
$ patch < prog.patch
0 comments:
Post a Comment
Subscribe to:
Post Comments (Atom)
Last 30 days Popular Posts
Links/Online Guides/Forums for top Linux Distro's
How to Limit network access by user / group using iptables - Owner Match
How to enable IP Forwarding
Baobab - Linux Graphical Disk Usage Analyzer
Working with CAB file on Linux
Creating backup/restore images using dd
How to Convert cue and bin files into an iso/cdr/wav file - BChunk
How to Extract Audio from Video file using ffmpeg
Whitepaper - The Importance of DMARC (Domain-based Message Authentication, Reporting & Conformance)
eBook - A guide to programming Linux kernel modules
Blog Archive
►
2013
(51)
►
June
(2)
►
May
(5)
►
April
(4)
►
March
(13)
►
February
(10)
►
January
(17)
►
2012
(167)
►
December
(6)
►
November
(12)
►
October
(19)
►
September
(13)
►
August
(13)
►
July
(16)
►
June
(9)
►
May
(16)
►
April
(10)
►
March
(20)
►
February
(18)
►
January
(15)
►
2011
(141)
►
December
(21)
►
November
(12)
►
October
(16)
►
September
(12)
►
August
(14)
►
July
(10)
►
June
(11)
►
May
(4)
►
April
(10)
►
March
(1)
►
February
(12)
►
January
(18)
►
2010
(242)
►
December
(25)
►
November
(19)
►
October
(22)
►
September
(20)
►
August
(26)
►
July
(21)
►
June
(13)
►
May
(22)
►
April
(19)
►
March
(16)
►
February
(15)
►
January
(24)
►
2009
(269)
►
December
(14)
►
November
(20)
►
October
(29)
►
September
(16)
►
August
(22)
►
July
(19)
►
June
(28)
►
May
(19)
►
April
(28)
►
March
(31)
►
February
(14)
►
January
(29)
▼
2008
(583)
►
December
(23)
►
November
(37)
►
October
(43)
►
September
(46)
▼
August
(34)
HowTo use "diff" and "patch"
How To disable virtual consoles (Alt+F1)
How to use smartmontools to monitor hard disk health?
How To Create OpenSuse 11.0 Boot CD?
How To Install Adobe Flash Player 10 into Firefox ...
Shadow password file /etc/shadow explained
Why is GNU software better than proprietary software?
Backup and Recovery solution for MySQL with Zmanda
Setup and Configure openSUSE 11.0
Ubuntu Wins !!!
OpenVAS - Open Vulnerability Assessment System
Grendel - Web Application Security Testing Tool
Backup and Restore PostgreSQL DB
How To Perform load tests and benchmarking website...
How To Disable ipv6 on SuSE Linux
How to DENY SSH access for certain user on Linux
MAC like dock for Ubuntu
10 schicke LinuxDesktops
PHP Predefined variables
HTTP Response Codes
Convert image formats using ImageMagick
How to use/configure nscd for caching
How to Manage disk Quotas for users
How To Transfer existing Linux system to a new har...
Lighting up LAMP in Ubuntu 8.04 Hardy Heron
Building A Linux Filesystem From An Ordinary File
Install windows Application using wine-doors (sing...
running "rm -rf /"
PostgreSQL setup and configuration for md5 authent...
Quick Configuration of AIDE (Advanced Intrusion De...
How To increase the limit for file handles
(r,w,x) Access Permissions For Files And Directories
Quick and simple usage of tcpdump (packet sniffer)
Tux3 Versioning Filesystem
►
July
(58)
►
June
(62)
►
May
(63)
►
April
(66)
►
March
(56)
►
February
(56)
►
January
(39)
►
2007
(68)
►
December
(15)
►
November
(15)
►
October
(38)
0 comments:
Post a Comment