nerdexam
CompTIA

LX0-101 · Question #426

Which of the following commands will uninstall a package but leave its configuration files in case a package is re-installed?

The correct answer is E. dpkg -r pkgname. See the full explanation below for the reasoning.

Question

Which of the following commands will uninstall a package but leave its configuration files in case a package is re-installed?

Options

  • ANone, no command will do this.
  • Bdpkg -s pkgname
  • Cdpkg -L pkgname
  • Ddpkg -P pkgname
  • Edpkg -r pkgname

How the community answered

(31 responses)
  • A
    16% (5)
  • B
    6% (2)
  • C
    3% (1)
  • D
    3% (1)
  • E
    71% (22)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice