Process & Job Control interview questions

12 real Process & Job Control questions from the Bash bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Background execution?

Junior
  1. A.a child copy of the shell, spawned by wrapping commands in parentheses, whose variable changes do not affect the parent
  2. B.a builtin that replaces the current shell process image with another program, so nothing after it in the script runs
  3. C.a command that pauses the script until one or all specified background jobs finish, then reflects their exit status
  4. D.detaching a command to run asynchronously while the shell continues, requested by appending a single ampersand
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Background execution — a command that pauses the script until one or all specified background jobs finish, then reflects their exit status
  2. B.Background execution — a child copy of the shell, spawned by wrapping commands in parentheses, whose variable changes do not affect the parent
  3. C.Background execution — detaching a command to run asynchronously while the shell continues, requested by appending a single ampersand
  4. D.Background execution — a builtin that replaces the current shell process image with another program, so nothing after it in the script runs
Reveal the answer + AI explanation — free account

4. What is Wait builtin?

Mid
  1. A.detaching a command to run asynchronously while the shell continues, requested by appending a single ampersand
  2. B.a builtin that replaces the current shell process image with another program, so nothing after it in the script runs
  3. C.a command that pauses the script until one or all specified background jobs finish, then reflects their exit status
  4. D.a child copy of the shell, spawned by wrapping commands in parentheses, whose variable changes do not affect the parent
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.Wait builtin — a builtin that replaces the current shell process image with another program, so nothing after it in the script runs
  2. B.Wait builtin — a child copy of the shell, spawned by wrapping commands in parentheses, whose variable changes do not affect the parent
  3. C.Wait builtin — detaching a command to run asynchronously while the shell continues, requested by appending a single ampersand
  4. D.Wait builtin — a command that pauses the script until one or all specified background jobs finish, then reflects their exit status
Reveal the answer + AI explanation — free account

7. What is Subshell?

Mid
  1. A.a command that pauses the script until one or all specified background jobs finish, then reflects their exit status
  2. B.a builtin that replaces the current shell process image with another program, so nothing after it in the script runs
  3. C.a child copy of the shell, spawned by wrapping commands in parentheses, whose variable changes do not affect the parent
  4. D.detaching a command to run asynchronously while the shell continues, requested by appending a single ampersand
Reveal the answer + AI explanation — free account

8. Which term means: "a child copy of the shell, spawned by wrapping commands in parentheses, whose variable changes do not affect the parent"?

Mid
  1. A.Exec replacement
  2. B.Subshell
  3. C.Background execution
  4. D.Wait builtin
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.Subshell — a builtin that replaces the current shell process image with another program, so nothing after it in the script runs
  2. B.Subshell — a command that pauses the script until one or all specified background jobs finish, then reflects their exit status
  3. C.Subshell — detaching a command to run asynchronously while the shell continues, requested by appending a single ampersand
  4. D.Subshell — a child copy of the shell, spawned by wrapping commands in parentheses, whose variable changes do not affect the parent
Reveal the answer + AI explanation — free account

10. What is Exec replacement?

Senior
  1. A.detaching a command to run asynchronously while the shell continues, requested by appending a single ampersand
  2. B.a builtin that replaces the current shell process image with another program, so nothing after it in the script runs
  3. C.a child copy of the shell, spawned by wrapping commands in parentheses, whose variable changes do not affect the parent
  4. D.a command that pauses the script until one or all specified background jobs finish, then reflects their exit status
Reveal the answer + AI explanation — free account

11. Which term means: "a builtin that replaces the current shell process image with another program, so nothing after it in the script runs"?

Senior
  1. A.Background execution
  2. B.Exec replacement
  3. C.Wait builtin
  4. D.Subshell
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Senior
  1. A.Exec replacement — a child copy of the shell, spawned by wrapping commands in parentheses, whose variable changes do not affect the parent
  2. B.Exec replacement — detaching a command to run asynchronously while the shell continues, requested by appending a single ampersand
  3. C.Exec replacement — a builtin that replaces the current shell process image with another program, so nothing after it in the script runs
  4. D.Exec replacement — a command that pauses the script until one or all specified background jobs finish, then reflects their exit status
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Process & Job Control free