# Test port connect (TCP SYN, ACK, FIN, FIN ACK) nc -z -v # Test port connect and send data from stdin print output to stdout nc # Send data and print output to stdout echo -e "HEAD / HTTP/1.0\r\nHost: www.test.se\r\n\r\n" | nc # Send binary data and print output to stdout nc < data.bin