-O Option (Command Line)

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.

  • -O
    Presents all output.
  • -O-
    Presents error output only.
  • -O@<file name>
    Sends all output to the specified file. 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 name>"
    Sends standard error output, in addition to command output, to the specified file. 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&-
    Provides no output.

See Also

Other Resources

Command Line Commands
Command Options