Home
Theory
News
Documentation
Download
Bio
The output from a command can be redirected to another command with a pipe symbol (|) or to a file with a greater-than symbol (>). There are options available in either case:

e - redirect stderr instead of stdout
b - redirect both (stdout & stderr)
a - append to existing file

mpsh$ command --help |e more
mpsh$ command >a data.out >e err.out

Because of these options, whitespace is essential. The following will NOT be parsed as intended:

mpsh$ command >filename

The whitespace before the filename is required:

mpsh$ command > filename