August 2018
Intermediate to advanced
482 pages
12h 44m
English
We first create a sample C program. Then, we create a copy of it and add few more lines of code to make it an updated version. After this, we create a patch file using the diff command. Before applying the patch, we check it for any errors by doing a dry run.
If we get no errors, we apply the patch using the patch command. Now, the original file has the same content as the updated version file.
We can also reverse the patch using the -R option.
Read now
Unlock full access