Bash $() and ()

From NovaOrdis Knowledge Base
Revision as of 02:01, 23 July 2020 by Ovidiu (talk | contribs) (Created page with "=Internal= =Overview= (...) executes the command into a subshell: <syntaxhighlight lang='bash'> (ls -al) </syntaxhighlight> If the command executes as such invokes <code>e...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

(...) executes the command into a subshell:

(ls -al)

If the command executes as such invokes exit, the calling shell does not exit.