Linux nc parameters and Linuxnc Parameters
Surely those who are familiar with Server programming in linux must have used a very short and concise command nc that is powerful and well known as a Swiss Army knife. We can use nc to build an output server or use it as a client, and we can use its various parameters to precisely control transmission and connection details, so that it becomes exceptionally powerful.
Nc Command Parameters
Parameters |
Function |
-I |
Set the datagram Transmission Interval |
-L |
Run as a server |
-K |
Receives and processes all connections on a port repeatedly. It must be used with the-l option. |
-N |
Use an IP address to indicate the host, not the host name. Use a number to indicate the port, not the service name. |
-P |
When the nc command is run on a client, force it to use the port number |
-S |
Sets the IP address of the datagram sent by the local host. |
-C |
Use the CR and LF characters as the row Terminator. |
-U |
Use UNIX local region Protocol |
-U |
Use UDP. The default protocol is TCP. |
-W |
Exit if the nc client does not detect any input in the specified event |
-X |
This option specifies the communication protocol between the nc client and the proxy server. |
-X |
IP address and port number of the target Proxy Server |
-Z |
Scan whether certain or some services on the target machine are enabled |
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.