Linux nc parameters and Linuxnc Parameters

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.