JAVA/Sun Exam Questions

Which command can you use to achieve this?

You want to kill the dtmail process that is hanging. Which command can you use to achieve this?

A.
pkill dtmail

B.
kill 9 mail

C.
pkill 1 mail

D.
kill 9 dtmail

Explanation:

The kill command requires a process ID (PID) and the pkill command requires a process name. The command kill 9 dtmail will not work because a process name is specified instead of the process ID.