Interview Questions

How will you terminate a process?

Use "kill" command to terminate a process.

Follow the below steps,
1. Execute "ps -ef". This will display set of process with process Id
2. Execute, kill -9 process_id. Here, process_id the one which is taken from the previous step #1.

[Note: Kill will terminate the process for which you are giving the process id. Hence be cautious while using this command. This is just for an example]