1Z0-821 · Question #126
You need to install the gzip software package on your system. Which command would you use to find the software package in the configured repository?
The correct answer is A. pkg search gzip. 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…
Question
You need to install the gzip software package on your system. Which command would you use to find the software package in the configured repository?
Options
- Apkg search gzip
- Bpkg info gzip
- Cpkg contents gzip
- Dpkginfo gzip
- Eyum list gzip
How the community answered
(39 responses)- A79% (31)
- B5% (2)
- C3% (1)
- D10% (4)
- E3% (1)
Explanation
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.
Topics
Community Discussion
No community discussion yet for this question.