Created
July 2, 2017 05:42
-
-
Save moijes12/a20dce23a6436829ce91cec93a604d8b to your computer and use it in GitHub Desktop.
Starting the Python SimpleHTTPServer and keeping it running even after logging out
This file contains 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
Below is a command I used to start the Python provided SimpleHTTPServer in a session and have it running even after I logout. | |
I found this command on the web and found it quite useful. This work is attributed to that original author. | |
The command will run a python based webserver on port 8000 of the host on which it was called. | |
screen -d -m python -m SimpleHTTPServer 8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment