nc
NetworkAdvanced In real Linuxnetcat: read and write network connections
Name: nc = netcat (cat for the network)
This command needs a real Linux system; you can practise it in real Linux mode.
Description
nc (netcat) reads and writes TCP and UDP connections, the "Swiss army knife" of networking: test whether a port is open, listen on a port, move files between machines or talk to a service by hand. Implementations differ between distributions, so some options vary.
Syntax
nc [OPTION]... HOST PORTCommon options
| -l | Listen |
| -k | With -l: keep listening after a connection ends |
| -z | Just scan for open ports |
| -v | Verbose |
| -u | Use UDP |
| -w TIMEOUT | Give up after TIMEOUT seconds of connecting or silence |
| -N | Close the connection at the end of the input (when sending a file) |
| -n | Do not look up host names |