adplus-dvertising
frame-decoration

Question

Which of the followings command(s) is used to kill the login shell?

a.

kill 0

b.

kill -9 $$

c.

kill -s KILL 0

d.

kill -9 $$ and kill -s KILL 0

Posted under Jobs and Processes UNIX

Answer: (d).kill -9 $$ and kill -s KILL 0

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the followings command(s) is used to kill the login shell?

Similar Questions

Discover Related MCQs

Q. Kill -l will list all the signal numbers on our machine.

Q. The command fg %1 will bring the first background job to the foreground.

Q. The command bg %2 is valid.

Q. What does the following command do?

$ kill %2

Q. Which of the following is not a part of job control facilities?

Q. POSIX shell provides job control facilities like bg or fg.

Q. Which command is used to list the status of jobs?

Q. We can schedule a job to run at a specified time of day using _______ command.

Q. We can use the _____ symbol with at command to redirect our output to a specified file.

Q. Which of the following keyword is not supported by at command?

Q. Which one of the following forms used with at command is invalid?

Q. To remove a job from the queue, which option is used with at command?

Q. We cannot find out the name of the program scheduled using at command.

Q. Which command permits to schedule jobs for later execution, as soon as the system load permits?

Q. Jobs scheduled using batch command goes to a special at queue.

Q. Jobs scheduled using batch command can be removed using ___ option.

Q. What is a daemon?

Q. What is cron?

Q. The cron tab is a table having a list of commands that are scheduled to be run at regular intervals.

Q. Which of the following command will remove the current crontab?