一行bash命令http server
来源:互联网 发布:部落冲突女王升级数据 编辑:程序博客网 时间:2024/06/05 05:35
while true; do { echo -e ‘HTTP/1.1 200 OK\r\n’; echo hello world; } | nc -l 8080; done
功能稍微健全一点的可以参考这里https://github.com/avleen/bashttpd/
阅读全文
0 0
- 一行bash命令http server
- 一行命令用Python建HTTP服务器
- Bash 命令
- Bash 命令
- bash命令
- bash命令
- Bash读取文件每次一行
- Bash读取文件每一行内容
- 丢掉python -m SimpleHTTPServer,一行命令用http分享目录(单行web服务器)
- 一行命令安装apk
- bash的内部命令
- bash shell 命令消除
- 有用的Bash命令
- Linux bash命令
- Bash shell 命令 备忘
- bash 内部命令
- 定制Bash历史命令
- Bash csh 命令提示符
- Loadrunner12安装教程
- 17.12.10,web学习第二十二天,还有一年,努力吧青年Ajax
- Search Insert Position
- log10
- 关于 Spring task和线程池
- 一行bash命令http server
- 以EOF结束、以0 0结束、以0结束的例题总结
- Spring中的线程安全
- python将mysql数据库的数据转换为json数据
- C++问题零碎
- Mysql : Mysql索引
- CentOS7使用yum安装MySQL
- LeeCode Contest 62 Find Smallest Letter Greater Than Target
- 计算1->n中数字x出现的次数