1Z0-821 · Question #196
1Z0-821 Question #196: Real Exam Question with Answer & Explanation
The correct answer is D. pkg search gzip. Searching for Packages Use the pkg search command to search for packages whose data matches the specified pattern. Like the pkg contents command, the pkg search command examines the contents of packages. While the pkg contents command returns the contents, the pkg search command
Question
Options
- Apkg info|grep gzip
- Bpkg list SUNWgzip
- Cpkg contents gzip
- Dpkg search gzip
Explanation
Searching for Packages Use the pkg search command to search for packages whose data matches the specified pattern. Like the pkg contents command, the pkg search command examines the contents of packages. While the pkg contents command returns the contents, the pkg search command returns the names of packages that match the query. search [-HIaflpr] [-o attribute ...] [-s repo_uri] query Search for matches to the query, and display the results. Which tokens are indexed are action-dependent, but may include content hashes and Note: pkg is the retrieval client for the image packaging system. With a valid configuration, pkg can be invoked to create locations for packages to be installed, called 'images', and install packages into those images. Packages are published by publishers, who may make their packages available at one or more repositories. pkg, then, retrieves packages from a publisher's repository and installs them into an image.
Community Discussion
No community discussion yet for this question.