OS/2 Command Operators

These are the various command operators that can be specified on the command line. They allow redirection of input and output. Chaining multiple programs together and conditional execution of programs.


<
Redirects input
>
Redirects output
>>
Appends redirected output to existing data
|
Pipes output
&& and ||
Processes commands conditionally
& and ()
Separates and groups commands
n>
Redirects output from a specific internal file ID
n>&n
Redirects output from a specific internal file ID to another specified internal file ID.