I am invoking nmap
with the following command:
nmap -oX i.xml -p 1-1023 -r -T4 -d -d
Doing this sends output to i.xml
successfully. However, text is still printed on the command line in additional being redirected to i.xml
. I would like the command to run silently on the command line, but to still write all of its output to my i.xml
file. I tried using the -v0
argument, but using it results in neither my XML file nor the command line seeing any output.
How can I tell nmap to send its output only to my XML file?