How to Share Files quickly in Ubuntu
Some time we need to share files to other systems in our computer center quickly with out any tools in hand. If you have a python installation in your system, file sharing is very simple by implementing a little http server, using a single line command.
Suppose If you want to share the folder /home/kartook/ and my IP address is 184.108.40.206
open a terminal then type following
$ cd /home/kartook
$ python -m SimpleHTTPServer
Now your http server will start in port 50000
( You will get a message – Serving HTTP on 0.0.0.0 port 50000 … )
Now you can open a browser in the remote machine and type the following in the address bar
If you are a network administrator it is very useful, normal users can also use this trick.
you can test it locally by using