Skip to content

The nc (netcat) command in Linux – checking ports, transferring files and debugging the network

The nc (netcat) command in Linux in practice. Checking TCP and UDP ports, sending messages and files between servers, a temporary web server for testing a port, reading the replies and the pitfalls. All examples tested on Debian 12.