nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #840

LFCS Question #840: Real Exam Question with Answer & Explanation

The correct answer is B: patch-kernel. The patch-kernel script, typically found within the Linux kernel source tree, is specifically designed to automate the process of applying patches to the kernel source.

Submitted by fatima_kr· Apr 18, 2026Operation of Running Systems

Question

What script is included with the kernel source to patch a kernel?

Options

  • Aupdate-kernel
  • Bpatch-kernel
  • Capply-patch
  • Dpatch

Explanation

The patch-kernel script, typically found within the Linux kernel source tree, is specifically designed to automate the process of applying patches to the kernel source.

Common mistakes.

  • A. update-kernel is not a standard script included with the kernel source for patching, though similar names exist for other kernel-related tasks like updating initramfs.
  • C. apply-patch is a generic term, but not the specific name of the script included with the kernel source for this purpose.
  • D. patch is the general-purpose utility used to apply diff files, but patch-kernel is the specific script that orchestrates kernel patching, often utilizing the patch utility internally.

Concept tested. Linux kernel patching utilities

Topics

#Kernel management#Kernel patching#System administration

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions