Appendix A. Answers to the “Do I Know This Already?” Quizzes and Review Questions

Chapter 2

Do I Know This Already?

1. C

2. A

3. A and B

4. C

5. D

6. B

7. A

8. A

9. A and D

10. D

Review Questions

1. B. Answer B is correct because the combination of the -qp and --changelog options shows the changelog or revision history for a package that’s on disk. Answer A is incorrect because there is no such thing as a --revision option for the rpm command. Answer C is incorrect because there isn’t a -p option to query the package on disk, and -qc doesn’t show the required information. Answer D is incorrect because the -qlp option shows the files in the package, not the revision history, and there isn’t a --showrev option to the rpm command.

2. B. Answer ...

Get CompTIA Linux+ XK0-004 Cert Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.