Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle 1Z0-821 Exam - Topic 5 Question 116 Discussion

Actual exam question for Oracle's 1Z0-821 exam
Question #: 116
Topic #: 5
[All 1Z0-821 Questions]

When you issue the ''gzip: zommand not found'' message is displayed. You need to install the gzip utility on your system.

Which command would you use to check if the gzip utility is available from the default publisher for installation?

Show Suggested Answer Hide Answer
Suggested Answer: D

Searching for Packages

Use the pkg search command to search for packages whose data matches the specified pattern.

Like thepkg contentscommand, thepkg searchcommand examines the contents of packages. While thepkg contentscommand returns the contents, thepkg searchcommand returns the names of packages that match the query.

pkg search

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 pathnames.

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.


Contribute your Thoughts:

0/2000 characters
Matilda
5 hours ago
D) pkg search gzip should work too, right?
upvoted 0 times
...
Lai
5 days ago
C) pkg contents gzip? Really? That doesn't sound right.
upvoted 0 times
...
Nickolas
10 days ago
I think B) pkg list SUNWgzip is more accurate.
upvoted 0 times
...
Cristy
29 days ago
A) pkg info|grep gzip is the way to go!
upvoted 0 times
...
Kati
1 month ago
Wait, is this a trick question? I bet the real answer is to just install the GNU tools and forget about this whole gzip thing.
upvoted 0 times
...
Elvera
1 month ago
Haha, who even uses gzip these days? Just use 7-zip, it's way better.
upvoted 0 times
...
Dorothy
1 month ago
Option C? Really? I don't think that's going to give us the information we need.
upvoted 0 times
...
Alyce
2 months ago
Hmm, I'm leaning towards option B. Listing the package directly seems like the most straightforward approach.
upvoted 0 times
...
Venita
2 months ago
I'm pretty sure it's option A. Grep is the way to search for packages, right?
upvoted 0 times
...
Ahmed
2 months ago
Option D seems like the way to go. Let's see if we can find that gzip package.
upvoted 0 times
...
Jacki
2 months ago
I believe "pkg contents gzip" shows the files in a package, so that one doesn't seem right for checking availability.
upvoted 0 times
...
Chery
2 months ago
I’m a bit confused; I thought "pkg info|grep gzip" would show if it's installed, but I’m not sure if it checks for availability.
upvoted 0 times
...
Chan
3 months ago
Hmm, this is a tricky one. I'm not too familiar with the "pkg" command, since I usually work on Linux systems. But based on the information provided, I think option D, "pkg search gzip," is the way to go. I'll make sure to double-check my answer before submitting.
upvoted 0 times
...
Elouise
3 months ago
I'm pretty confident that option D, "pkg search gzip," is the correct answer here. The question is specifically asking about checking the availability of the gzip utility, and the "pkg search" command seems like the best way to do that.
upvoted 0 times
...
Kiera
3 months ago
Okay, let's see. The error message says the "gzip" command is not found, so I need to install the gzip utility. The question is asking which command I would use to check if it's available for installation. I think option D, "pkg search gzip," is the way to go.
upvoted 0 times
...
Roslyn
3 months ago
I think it's A. Simple and direct.
upvoted 0 times
...
Larae
3 months ago
I practiced a similar question where we had to check for package availability, and I feel like "pkg list SUNWgzip" might be the right choice.
upvoted 0 times
...
Stacey
4 months ago
D gives more options, but A is quicker.
upvoted 0 times
...
Vernice
4 months ago
I think I remember that "pkg search gzip" is used to find packages, but I'm not entirely sure if it's the best option here.
upvoted 0 times
...
Jolene
4 months ago
I'm a bit confused here. Is this a Linux or a Solaris system? The question mentions the "pkg" command, which makes me think it's Solaris, but the error message is for gzip, which is more common on Linux. I'll need to think this through carefully.
upvoted 0 times
...
Oretha
4 months ago
Hmm, this seems straightforward. I'd probably try option D to search for the gzip package.
upvoted 0 times
Alyce
3 months ago
I think option D is a good choice too.
upvoted 0 times
...
...

Save Cancel