How to Share Files quickly in Ubuntu

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 192.10.200.4

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

http://192.10.200.4:50000

If you are a network administrator it is very useful, normal users can also use this trick.

you can test it locally by using
http://127.0.0.1:50000

One thought on “How to Share Files quickly in Ubuntu

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.