Hi,
I couldn’t post for a long time.I know but I will post more.
Last day I needed to share a film one linux pc to mac pc and we didn’t had anything like usb drive, usb hdd etc. Then I run a simple HTTP server with python and this was useful, because of this I want to share.
-
First you need to open terminal. (Most of GNU/Linux systems you can open with ctrl+T)
- After that you need to go to folder which you want to share
For example:
cd ˜/movies/alien
- In the folder which you want to share you need to type this command
python -m SimpleHTTPServer
-
After you started your server you need to create a hotspot from your pc which you run your server.
-
You need to connect this hotspot with other pc.
- In your pc which run server you need to type this command to see your ip addres(If you know you can skip this step)
ip addr show
- In your which you connected hotspot from your other pc you need to open a browser and in address bar you need to write
your.ip.address:port_which_is_running
For example:
192.168.2.1:8000
Tadaaa now you can see your file from another computer!