Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
bash竟然也能作为CGI脚本的解释器~好有趣
sodapanda
·
sodapanda
·
Apr 13, 2012
· 5684 views
This topic created in 5317 days ago, the information mentioned may be changed or developed.
今天看python的CGI那部分,突然想起来bash也是解释器阿,那Perl 和python能当CGI脚本解释器,那bash也行阿。试了试,果不其然~~赤裸裸的在浏览器里显示出 ifconfig 和 ps -e了。
直接捣鼓CGI比捣鼓框架有趣阿,我只是说有趣而已。实用性就不谈了 ^_^
CGI
bash
解释器
3 replies
•
1970-01-01 08:00:00 +08:00
gwmwhu
Apr 13, 2012
1
有标准输入和标准输出的语言都可以写cgi啊
ruchee
Apr 14, 2012
2
LZ奇葩了,CGI是不限语言的
594duck
Dec 10, 2012
3
麻烦楼主。你的bash cgi是在什么中间件下执行的。apache ? nginx?
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
4196 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms ·
UTC 01:06
·
PVG 09:06
·
LAX 17:06
·
JFK 20:06
♥ Do have faith in what you're doing.
❯