Simple Socket Server in Bash?

$ nc -k -l 4444 > filename.out

see nc(1)

Leave a Comment