At times when you want to watch a movie on your phone or just want to transfer photos to a couple of friends, it’s quite boring to transfer it through a data cord or Bluetooth. And if you don’t have the patience to go onto the internet and download an appropriate app like AirDroid, that’ll make your life a lot easier, you can just use this python command on linux.
Step 1: Open terminal and type
and note down the IP address.
Step 2: Then type:
python -m SimpleHTTPServer
Step 3: Open the web browser on your phone and enter the IP address and the port (Eg: 192.168.0.3:8000)
You can now browse your files on your phone and if you have MX video player, you can stream too.
P.S – You need to be connected to the same WiFi network.