O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

patch

Updates source code

patch [options] target-file patch-file

patch [options]

The patch utility updates a file from a file of change information, or patches, created by diff. The patch utility can read many forms of diff output, including context diffs, ed scripts, and the default diff output. See page 1149 and the diff info page for more information on these and other output forms.

Useful when making changes to large software applications, including the Linux kernel, the patch utility allows one version of the application source to be changed into another simply by applying patches. The presence of the utility is often assumed by software developers who e-mail patches so users can install updates.

Today patches are used less frequently than ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required