If the current directory is /root and the kernel source is located in /usr/src/linux, which of the following commands should be used to apply the patch /tmp/foopatch?

Posted by: Pdfprep Category: 201-450 Tags: , ,

If the current directory is /root and the kernel source is located in /usr/src/linux, which of the following commands should be used to apply the patch /tmp/foopatch?
A . cat /tmp/foopatch | patch -p0
B . cd/usr/src/linux; cat/tmp/foopatch | patch -p0
C . cd/usr/src/linux; cat/tmp/foopatch | patch
D . cd/usr/src/linux; patch -p1 </tmp/foopatch
E . cd/usr/src/linux; patch -p1 >/tmp/foopatch

Answer: D

Leave a Reply

Your email address will not be published.