Linux Foundation Certified System Administrator (LFCS) — Question 99
Which character, added to the end of a command, runs that command in the background as a child process of the current shell?
Answer options
- A. !
- B. +
- C. &
- D. %
- E. #
Correct answer: C
Explanation
The correct answer is C, as the ampersand (&) is specifically used in Unix-like operating systems to run commands in the background. The other options do not serve this purpose: '!' is for negation, '+' is used for job control, '%' is for jobs in the shell, and '#' denotes comments.