Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i need to apply patch .diff file to kenerl how to apply it which command should i use after i save the patch on patch.diff file ps patch is https://bugzilla.redhat.com/show_bug.cgi?id=248716

share|improve this question
    
What's wrong with just updating the kernel package? –  Ignacio Vazquez-Abrams Oct 30 '10 at 8:02
    
ive no problem with this i just wanted to learn how to apply such patch .diff files :) –  user47556 Oct 30 '10 at 8:05

1 Answer 1

up vote 2 down vote accepted

You can use the patch tool. The general syntax is as follows:

patch -pnum <patchfile

For more info see:

man patch
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.