Wednesday 1 February 2012

Http file sharing in linux


Let us have a look at Instant http file sharing in linux, no need of any nfs or samba to do the work for you

Go to the directory you want to share
cd ctechz

Run the below command 
# python -m SimpleHTTPServer

Go to another machine and open browser and enter
http://ipadress:8000

You will get all the files inside the directory in which you ran the python command.


No comments:

Post a Comment