Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Suppose I have same version of linux kernel but I changed some driver lines. Is there any way to compare these kernels and list the results. The result would be helpful to go back if I changed a lot in original drivers.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

The traditional method:

diff -r dir1  dir2 

That gives you a file-by-file difference, which can be kind of wordy. If you have Gnu diff, you can try:

diff -r --brief dir1 dir2
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.