CompTIA
LX0-101 · Question #263
Which of the following is the difference between the --remove and the --purge action with the dpkg command?
The correct answer is A. --remove removes the program, --purge also removes the config files. See the full explanation below for the reasoning.
Question
Which of the following is the difference between the --remove and the --purge action with the dpkg command?
Options
- A--remove removes the program, --purge also removes the config files.
- B--remove only removes the program, --purge only removes the config files.
- C--remove removes a package, --purge also removes all packages dependent on it.
- D--remove removes only the package file itself, --purge removes all files related to the package.
How the community answered
(42 responses)- A74% (31)
- B14% (6)
- C5% (2)
- D7% (3)
Community Discussion
No community discussion yet for this question.