What is shell and subshell in Linux?
Answer
Running a shell script launches a new process, a subshell. Definition: A subshell is
a child process launched by a shell (or shell script). A subshell is a separate instance of the command processor — the shell that gives you the prompt at the console or in an xterm window.
Answer
Running a shell script launches a new process, a subshell. Definition: A subshell is
a child process launched by a shell (or shell script). A subshell is a separate instance of the command processor — the shell that gives you the prompt at the console or in an xterm window.