CompTIA Linux+ (XK0-005) — Question 157

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?

Answer options

Correct answer: D

Explanation

The correct command is D, as 'nice -10' is used to start a new process with a specified niceness value of -10. Option A incorrectly uses '-v', which is not valid for 'nice', while options B and C use 'renice', which modifies the niceness of an existing process rather than starting a new one.