Add note on how to stop the server
This commit is contained in:
parent
56b69db576
commit
093fcea488
|
@ -20,7 +20,7 @@ Otherwise, navigate to the directory with the file you would like to share. Now,
|
|||
python -m http.server
|
||||
```
|
||||
|
||||
Now scream your private IP address to your friend and tell them to go to http://*IPADDRESS*:8000 in their web browser. All they need to do is download the file. Done!
|
||||
Now scream your private IP address to your friend and tell them to go to http://*IPADDRESS*:8000 in their web browser. All they need to do is download the file. When everything's done, you can press Ctrl-C to stop the HTTP server. Mission accomplished!
|
||||
|
||||
## Scripting
|
||||
Wow, that was easy enough that you could probably easily write a script to do it. Lucky for you, check out [share.sh](share.sh) for a prewritten script to automate this process.
|
||||
|
|
Loading…
Reference in a new issue