Question: To run a group of commands without spawning a subshell, which syntax would you use?
- sh command1; command2
- { command1; command2; }
- (( command1; command2 ))
- command1; command2 )
Answer: The correct answer of the above question is Option D:command1; command2 )