1.

Which of the followings command(s) is used to kill the login shell?(a) kill 0(b) kill-9$$(c) kill-sKILL 0(d) kill-9$$ and kill-sKILL 0I got this question in semester exam.My question comes from Process Handling Commands in division The Process of Unix

Answer» RIGHT answer is (d) KILL-9$$ and kill-sKILL 0

Explanation: A SIMPLE kill COMMAND (with TERM) will not kill the LOGIN shell. We can kill the login shell by using any of the following commands:


Discussion

No Comment Found

Related InterviewSolutions