commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
In Python version 3, the module was merged into http.server. Gentlemen, change your aliases.
There are 2 alternatives - vote for the best!
This works on all versions of python 2.X.
Tested on Linux and bundled python versions on Mac OSX and Solaris / UNIX
Note: Serves globally on port 8000.
Ctrl+c to stop.
Don't start the server and leave it on a internet connected machine. :)
An alternative to: python -m SimpleHTTPServer for Arch Linux
If you can do better, submit your command here.
You must be signed in to comment.