adplus-dvertising
frame-decoration

Question

Which one of the following command is used for killing the last background job?

a.

kill $

b.

kill $$

c.

kill $!

d.

kill !

Posted under UNIX

Answer: (c).kill $!

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one of the following command is used for killing the last background job?

Similar Questions

Discover Related MCQs

Q. By default, kill uses the SIGTERM signal (15) to terminate the process.

Q. Which signal is used with kill command to terminate the process when they ignore the SIGTERM signal (15)?

Q. Which option is preferred while killing a process using SIGKILL signal (9)?

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

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.