Thursday, January 27, 2011

Display the current directory as a webpage in Linux

Display the current directory as a webpage in Linux

python -m SimpleHTTPServer

in the directory you wish to share, then access http://127.0.0.1:8000 in your browser.

No comments:

Post a Comment