> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/andoid-shou-ji/untitled-4/shell-script/jian-yi-wang-zhan.md).

# 簡易網站

```
while true; do    echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 1500 -q 1; done
```

{% file src="/files/-LxEbNWkvD31UmEKw9CO" %}

```
gunzip http.sh.gz
chmod +x http.sh
socat TCP4-LISTEN:8081,fork EXEC:/home/user/http.sh
```
