Linux inetd and shell input redirection
I was required to write a small listener. This listener doesn’t have to do anything fancy – it has to process input from a network source (over TCP) and shove it into a file with random name. The quick and dirty solution is to use netcat (nc). A short command such as this would do…