adplus-dvertising
frame-decoration

Question

Which system call is used to run a new program?

a.

fork

b.

wait

c.

exec

d.

exit

Posted under Jobs and Processes UNIX

Answer: (c).exec

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which system call is used to run a new program?

Similar Questions

Discover Related MCQs

Q. It is necessary to terminate the command line with &, even when we are using nohup command.

Q. Which of the following shell(s) allows the user to run jobs in the background even when the user has logged out (without using nohup command)?

Q. When nohup command is used, shells returns the _____

Q. nohup command doesn’t send the standard output of a command to any file.

Q. What is the PID of the process who takes the parentage of the process run with nohup command?

Q. Which command is used to for executing jobs according to their priority?

Q. It is better to use & with nice command.

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

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.