Instant Web Server for sharing Files
March 6, 2010 at 10:38 pm Mayank Juneja Leave a comment
To set up a web server for sharing some files with your friends, go to the directory containing the files to be shared, and use the following command
python -c "import SimpleHTTPServer; SimpleHTTPServer.test();"
Your web server is ready to be used and can be accessed at
http://<Your-IP-Address>:8000
After the sharing is done, press Ctrl+C to exit and turn the server off. Simple and Easy, isn’t it ?
Source : LinuxForYou
Trackback this post | Subscribe to the comments via RSS Feed