NC is a powerful network tool that can be installed with Yum
which NC/usr/bin/which in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/ root/yum inistall nc-y
Usage:
NC [-HlnRuz] [-g< gateway ...;] [-g< the number of the pointing device;] [-i< delay number of seconds;] [-o< output file;] [-p< communication port;] [-s< source Address;] [-V ...] [-w< timeout number of seconds;] [Host name] [Communication port ...]
Parameters:
-g< Gateway > Set Router Hop communication gateway, the most lost oh can be set to 8.
-g< number of pointers > set source route-to-point, with a number of multiples of 4.
-H online Help.
-i< delay seconds > Set time interval for transmitting information and scanning communication ports.
-L Use the monitor mode to control incoming data.
-N uses the IP address directly, not through the domain name server.
-o< output File > Specify the name of the file, and transfer the data transferred to the file in 16 Loadline to save.
-p< Communication port > Set the communication port used by the local host.
-R chaos Specifies the communication port between the local and the remote host.
-s< Source location > Set the IP address of the local host to send the packet.
-U uses the UDP transport protocol.
-V Displays the instruction execution process.
-w< Timeout seconds > Set the time to wait for the connection.
-Z uses 0 in/out mode and is only used when scanning communication ports.
Actual combat:
Detecting host ports
192.168. 220.144 52113 Port [TCP/*
Linux NC Command detailed