5.10. Grouping CommandsCommands may be grouped by placing them between parentheses, which causes them to be executed by a child shell (subshell). The group of commands shares the same standard input, standard output, and standard error channels, and may be redirected and piped as if it were a simple command. Here are some examples: $ date; ls; pwd > out.txt ...execute a sequence Wed Feb 2 00:33:12 CST 2005 ...output from date. |