The -O option controls the output from commands that might display large amounts of information. If you do not specify -O, the information scrolls by on the screen too quickly to be read.
The following table lists ways to use the -O option.
Option | Description |
-O | All output is presented. |
-O- | Error output only is presented. |
-O@File.txt | All output is sent to File.txt. This is the command-line method for exporting reports, such as the History report, to a file or printer. If the named file already exists, output is appended to that file. |
"-O&File.txt" | Standard error output is sent to File.txt, in addition to the command output. Note that the quotation marks are required on Windows NT platforms, and optional on others. If the named file already exists, output is appended to that file. |
-O&- | No output is provided. |