PrepAway - Latest Free Exam Questions & Answers

What command is used to check against the package installation information to check if the file has changed?

You suspect that the /usr/bin/ps binary has been replaced. What command is used to check against the package installation information to check if the file has changed?

PrepAway - Latest Free Exam Questions & Answers

A.
pkgck l /usr/bin/ps

B.
pkgchk p /usr/bin/ps

C.
pkginfo l /usr/bin/ps

D.
pkginfo p /usr/bin/ps

Explanation:

The pkgchk command is usually used to check a package. It can also be used to check a file. Valid options are: -f correct file attribute problems, -a check file attributes only, -c check file contents only, -p check filename given against package database, -n do not check files likely to change


Leave a Reply