LFCS Certification Practice Test
LFCS Certification Shell Scripting and Automation 2
What does the command substitution syntax $(command) do in a bash script?
Select your answer
A
Runs the command in the background as a subshell
B
Captures the stdout output of a command and inserts it inline
C
Defines a new subshell environment variable
D
Redirects command output to /dev/null silently
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →