This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://blog.sina.com.cn/s/blog_62e7fe670101c4v5.html | |
| python -m SimpleHTTPServer 8000 | |
| 使用上面的命令可以把当前目录发布到8000端口。 | |
| 但是这条命令是当前运行的,不是后台运行的,也就是说如果Ctrl + C,则该端口就会关闭。 | |
| 在上述命令的最后加一个 & ,则该命令产生的进程在后台运行,不会影响当前终端的使用(我们在只有一个bash的环境下)。 |