Linux Foundation Certified System Administrator (LFCS) — Question 65
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
Answer options
- A. --clean
- B. --delete
- C. --purge
- D. –remove
Correct answer: C
Explanation
The correct option is --purge, as it not only removes the package but also deletes all associated configuration files. The other options do not achieve this; --remove only uninstalls the package without deleting config files, while --clean and --delete are not valid options in this context.