The following example shows how to check the contents of a package.
# pkgchk -c SUNWbash
If there are no errors, the system prompt is returned. Otherwise, the pkgck command reports the error.