Fix #1: Use python3 instead of python

This commit is contained in:
Anthony Wang 2021-07-21 14:05:29 -05:00
parent 4280d36e6c
commit 3d33b948b7
Signed by: a
GPG key ID: BC96B00AEC5F2D76
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ xdg-open share.txt # Open file in your default editor
Otherwise, navigate to the directory with the file you would like to share. Now, unleash Python's built-in HTTP server!
```sh
python -m http.server
python3 -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. When everything's done, you can press Ctrl-C to stop the HTTP server. Mission accomplished!

View file

@ -12,6 +12,6 @@ fi
# Start Python's HTTP server
echo "Press Ctrl-C to stop the server when you are done"
python -m http.server
python3 -m http.server
rm share share.txt > /dev/null 2>&1 # Delete the file when you are done