The /usr/bin/p7zip file that is part of the p7zip package has been overwritten. This server is
critical to production and cannot be rebooted. Identify the command that would restore the
file without requiring a reboot. A. pkg verify p7zip
A.
pkg install –no-backup-be p7sip
B.
pkg install p7zip
C.
pkg uninstsll p7zip
D.
pkg revert p7zip
E.
pkg rebuild-index p7zip
F.
pkg verify p7zip
G.
pkg fix p7sip
it should be G.pkg fix p7zip
G
pkg revert Operates on files. Takes one or more file names or tag names as operands
https://docs.oracle.com/cd/E36784_01/html/E36802/gnzqa.html
D with pkg revert /usr/bin/p7zip
No, that would reset the package to initial parameters. The best thing to do is pgk fix
G
Answer: D
Explanation:
Use the pkg revert command to restore files to their as-delivered condition.
Reference: Adding and Updating Oracle Solaris 11 Software Packages, Restoring a File