Which command is used to terminate a process? A. shutdown B. haltsys C. cancel D. kill E. None of the above

[amp_mcq option1=”shutdown” option2=”haltsys” option3=”cancel” option4=”kill E. None of the above” correct=”option4″]

The correct answer is D. kill.

The kill command is used to terminate a process. It can be used to terminate a process by its process ID (PID), by its name, or by a signal.

The shutdown command is used to shut down the computer.

The haltsys command is used to halt the computer.

The cancel command is used to cancel a job that is currently running in the background.

None of the above options are used to terminate a process.