Grouping commands

You can group commands using either

( list )

or

{ list; }

In the first case, qsh runs list in a subshell environment.

Examples

  1. Group two commands in a subshell.
    ( ls | grep apple )