Patch usage

Patch usage

Posted By: pmietlicki

Published to Linux on Apr 29, 2017

Diff is a simple command to create patch files. You use it like that :

diff -u file.old file.new > file.patch

Then you transmit the "patch" file to your friends or colleagues. In order to apply it, you just use this command :

patch -p0 file.old

Tags: diff, linux, patch

Archive