sysxplore

sysxplore

What are Subshells in Linux

TRÄW🤟's avatar
TRÄW🤟
Oct 27, 2025
∙ Paid

In Linux, every time you open a terminal, you start a shell, usually Bash or Zsh. But what happens when you run a command inside parentheses, like this?

$ (pwd; ls)

You’ve just created a subshell, a new child shell that runs your commands in isolation from the parent. Subshells are one of those shell concepts that quietly do a lot behind the scenes in B…

User's avatar

Continue reading this post for free, courtesy of TRÄW🤟.

Or purchase a paid subscription.
© 2026 TRÄW🤟 · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture