Regarding the command:
nice -5 /usr/bin/prog
Which of the following statements is correct?
Click on the arrows to vote for the correct answer
A. B. C. D.B
The nice
command is used to execute a command with a modified scheduling priority, also known as the "nice value." A lower nice value corresponds to a higher priority for the process, and a higher nice value corresponds to a lower priority.
In the given command nice -5 /usr/bin/prog
, the -5
option sets the nice value to -5
, which means that the /usr/bin/prog
command will have a higher priority compared to other processes with a higher nice value.
Therefore, the correct answer is A. /usr/bin/prog
is executed with a nice level of -5.