Use the command kill along with the process id (PID) to kill a process.

Example – kill 12323

If this does not destroy the process, add the signal number for a kill to kill the process. Unix cannot ignore the signal number.

Example – kill -9 12323

Continue reading Unix interview questions to know how you can stop an infinite loop using the same command

Suggest An Answer

No suggestions avaliable!