LPI
117-201 · Question #23
117-201 Question #23: Real Exam Question with Answer & Explanation
Sign in or unlock 117-201 to reveal the answer and full explanation for question #23. The question stem and answer options stay visible for context.
Question
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?
Options
- Acat /tmp/foopatch | patch -p0
- Bcd/usr/src/linux; cat/tmp/foopatch | patch -p0
- Ccd/usr/src/linux; cat/tmp/foopatch | patch
- Dcd/usr/src/linux; patch -p1 </tmp/foopatch
- Ecd/usr/src/linux; patch -p1 >/tmp/foopatch
Unlock 117-201 to see the answer
You've previewed enough free 117-201 questions. Unlock 117-201 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.