A shell spawned as a child process, separate from the current one.
A mechanism that runs a group of commands enclosed in parentheses () as an independent child process, with its own separate variable scope. It resembles grouping with braces {}, but because a subshell spawns a genuinely new process, things like a cd or export inside it never carry back to the calling shell -- a key difference.
© 2026 ITBGM