echo -e "HTTP/1.1 200 OK\\n\\n $(date)" | nc -lv 8080 # 또는 while true ; do nc -l -p 1500 -c 'echo -e "HTTP/1.1 200 OK\\n\\n$(date)"'; done