From the following nc command,i would like to redirect
source-server.fqdn
name to the output file. By default nc command is not returning the source-server.fqdn
in the output.
nc -zv -s source-server.fqdn dest-server.fqdn 1234 >> file.txt 2>&1
Asked by u512201
(1 rep)
Feb 14, 2024, 09:44 AM
Last activity: Feb 14, 2024, 12:58 PM
Last activity: Feb 14, 2024, 12:58 PM