exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 161 discussion

Actual exam question from CompTIA's XK0-005
Question #: 161
Topic #: 1
[All XK0-005 Questions]

A Linux engineer needs to download a ZIP file and wants to set the nice value to -10 for this new process. Which of the following commands will help to accomplish the task?

  • A. $ nice -v -10 wget https://foo.com/installation.zip
  • B. $ renice -v -10 wget https://foo.com/installation.zip
  • C. $ renice -10 wget https://foo.com/installation.zip
  • D. $ nice -10 wget https://foo.com/installation.zip
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Damon54
8 months, 3 weeks ago
Selected Answer: D
although the -n option should be specified nice -n 10 wget https://foo.com/installation.zip
upvoted 3 times
...
linux_admin
1 year, 3 months ago
Selected Answer: D
D. $ nice -10 wget https://foo.com/installation.zip Explanation: nice is a command in Linux used to run a command with a modified scheduling priority. -10 is an option used with the nice command to set the nice value to -10, which increases the priority of the command. wget is a command in Linux used to download files from the internet. https://foo.com/installation.zip is the URL of the ZIP file to be downloaded. So, the command nice -10 wget https://foo.com/installation.zip will download the ZIP file and set the nice value of the wget process to -10, which will increase its priority.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago