6 lines
122 B
Bash
Executable file
6 lines
122 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
while :
|
|
do
|
|
echo -e "HTTP/1.1 200 OK\n\n$(echo '<h1>Hi there</h1>')" | nc -l -k -p 8080 -q 1
|
|
done
|