Listen on a specified port and print any data received

nc

nc -l {{port}}

click the source code to copy install nc on any operating system with command-not-found.com