nerdexam
LPI

201-450 · Question #154

To remove the patch patch-2.4.28.tar.bz2 from a kernel source tree, the command that must be used is:

The correct answer is B. bunzip2 -c ../patch-2.4.28.tar.bz2 | patch -Rp1. See the full explanation below for the reasoning.

Linux Kernel

Question

To remove the patch patch-2.4.28.tar.bz2 from a kernel source tree, the command that must be used is:

Options

  • Abunzip2 ../patch-2.4.28.tar.bz2 | patch -rp1
  • Bbunzip2 -c ../patch-2.4.28.tar.bz2 | patch -Rp1
  • Cbunzip2 -c ../patch-2.4.28.tar.bz2 | unpatch -p1
  • Dbunzip2 ../patch-2.4.28.tar.bz2 | unpatch -p1
  • Ebunzip2 ../patch-2.4.28.tar.bz2 | patch -Rp1
  • Fbunzip2 -c ../patch-2.4.28.tar.bz2 | patch -rp1

How the community answered

(27 responses)
  • A
    7% (2)
  • B
    78% (21)
  • C
    11% (3)
  • E
    4% (1)

Topics

#kernel patch#patch -R#bunzip2#kernel source

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice