Which command would you use to determine which package group is installed on your system?
A.
pkg list group/system/\*
B.
pkg info
C.
uname �a
D.
cat /var/sadm/system/admin/CLUSTEP
Explanation:
The pkg info command provides detailed information about a particular IPS
package.
Note: The pkginfo command does the same for any SVR4 packages you may have installed on
the same system.
pkg info example:
$ pkg info p7zip
Name: compress/p7zip
Summary: The p7zip compression and archiving utility
Description: P7zip is a unix port of the 7-Zip utility. It has support for
numerous compression algorithms, including LZMA and LZMA2, as
well as for various archive and compression file formats,
including 7z, xz, bzip2, gzip, tar, zip (read-write) and cab,
cpio, deb, lzh, rar, and rpm (read-only).Category: System/Core
State: Installed
Publisher: solaris
Version: 9.20.1
Build Release: 5.11
Branch: 0.175.0.0.0.2.537
Packaging Date: Wed Oct 19 09:13:22 2011
Size: 6.73 MB
FMRI: pkg://solaris/compress/[email protected],5.11-0.175.0.0.0.2.537:20111019T091322Z
A is correct
naagesh is confused!
Hi Murali,
How can you proove that option “a” is correct?
pkg list group/system/\*
NAME (PUBLISHER) VERSION IFO
group/system/solaris-desktop 0.5.11-0.175.1.0.0.24.3 i–
group/system/solaris-large-server 0.5.11-0.175.1.0.0.24.3 i–
A is correct. Just practice…
Correct answer A
Determine which package group is currently installed on your system as follows:
# pkg list group/system/\*
Reference:
https://docs.oracle.com/cd/E36784_01/html/E39134/gmvcm.html
A
The pkg info command provides detailed information about a particular IPS
package.
Note: The pkginfo command does the same for any SVR4 packages you may have installed on the same system.
pkg info example:
$ pkg info p7zip
Name: compress/p7zip
Summary: The p7zip compression and archiving utility
Description: P7zip is a unix port of the 7-Zip utility. It has support for numerous compression
algorithms, including LZMA and LZMA2, as well as for various archive and compression file
formats, including 7z, xz, bzip2, gzip, tar, zip (read-write) and cab, cpio, deb, lzh, rar, and rpm
(read-only).
Category: System/Core
State: Installed
Publisher: solaris
Version: 9.20.1
Build Release: 5.11
Branch: 0.175.0.0.0.2.537
Packaging Date: Wed Oct 19 09:13:22 2011
Size: 6.73 MB
FMRI: pkg://solaris/compress/[email protected], 5.11-0.175.0.0.0.2.537:20111019T091322Z