The following example shows the default behavior of the pkg contents command: Display the value of the path attribute for each file system object that can be installed in this image.
$ pkg contents entire pkg: This package delivers no filesystem content, but may contain metadata. Use the -o option to specify fields other than 'path', or use the -m option to show the raw package manifests. $ pkg contents zip PATH usr/bin/zip usr/bin/zipcloak usr/bin/zipnote usr/bin/zipsplit usr/share/man/man1/zip.1 usr/share/man/man1/zipcloak.1 usr/share/man/man1/zipnote.1 usr/share/man/man1/zipsplit.1
The pkg contents command displays only content that can be installed in this image. If you view the package manifest (use the -m option), you see that the zip package has 12 file actions. The four files that are not shown in this output are files that cannot be installed in this image. This image is an x86 architecture. The files that are not shown are the four /usr/bin files for the SPARC architecture. See Controlling Installation of Optional Components for information about variants and facets.