101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 70


Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

Show Answer
Correct Answer: C

The character '&' when added to the end of a command in most Unix-like operating systems runs that command in the background as a child process of the current shell. This allows users to continue executing other commands while the original command runs in the background.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclairOption: C
Oct 21, 2023

Certainly, here's an explanation of the other characters listed: A. `!`: The exclamation mark `!` is often used in shell history commands to refer to previous commands. For example, `!n` refers to the command with job number `n`. It is not used to run a command in the background. B. `+`: The plus sign `+` is not commonly used to run commands in the background. It's typically used in job control to bring a background job to the foreground, but not to start a command in the background.