adplus-dvertising
frame-decoration

Question

What does the following command do?

$ kill %2

a.

kills job number 2

b.

kills the second background job

c.

invalid command

d.

kill all foreground & background jobs

Posted under Jobs and Processes UNIX

Answer: (b).kills the second background job

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does the following command do? $ kill %2

Similar Questions

Discover Related MCQs

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?

Q. To find out how efficiently a program a used the system resources, which command is used?

Q. To start a process in the background, enter the command with this character at the end.

Q. Every process running on the system has a

Q. Which of the following is not a job status?