Linux tips – Easily share files and folders over the web
Here is a simple tip to share your files and folders residing on your Linux machine with anyone across the web.
Open a bash terminal and create an alias as follows:
$ alias webshare='python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"'
Next navigate to the directory which you want to share with someone and run the alias command as follows:
$ webshare
Your Linux machine will now start serving the whole directory tree on the port number 8000. And anybody can access all your files within that directory at the following web address – http://<your-ip-address>:8000/.
To stop serving files just press [Ctrl + C] from command line to end the webshare process.

