The Nmap result can be saved to an external file. This option is useful if you want to process Nmap result with other tools. Even if you save the output to a file, Nmap still displays the result on the screen.
Nmap supports several output formats, as follows:
- Interactive output: This is a default output format, and the result is sent to the standard output.
- Normal output (-oN): This format is similar to the interactive output, but it doesn't include the runtime information and warnings.
- XML output (-oX): This format can be converted to an HTML format, parsed by the Nmap graphical user interface (GUI), or imported to the database. We suggest you use this output format as much as you can.
- Grepable output (-oG): This format ...