nerdexam
LPI

201-400 · Question #306

What does the -p3 option to the patch command do?

The correct answer is A. It will strip off path information from each file mentioned in the patch file up to and including the. See the full explanation below for the reasoning.

Question

What does the -p3 option to the patch command do?

Options

  • AIt will strip off path information from each file mentioned in the patch file up to and including the
  • Bpatch continues execution as long as there are three or fewer errors.
  • CIt instructs patch to look up to three lines of context before or after the declared line in the original
  • Dpatch will keep three previous versions of each file in the output to prevent loss of change history.
  • EIt instructs patch to conform more strictly to the POSIX standard.

How the community answered

(53 responses)
  • A
    83% (44)
  • B
    4% (2)
  • C
    2% (1)
  • D
    2% (1)
  • E
    9% (5)

Community Discussion

No community discussion yet for this question.

Full 201-400 Practice