Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "Please insert a specific Ubuntu Version (Only X.10 versions are supported):"
- read VERSION
- # those are variables - naming is customizable
- # import NO WHITESPACES
- # KEEP IN MIND: always name variables in relation to the value it stores (think about looking at it in 2 weeks from now)
- PUPS="http://old-releases.ubuntu.com/releases/"
- PUPS_2="ubuntu-$VERSION-desktop-amd64.iso"
- # use wget to just download a file
- # or use httpie (https://httpie.org/doc)
- # or use curl
- http -d "$PUPS$VERSION/$PUPS_2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement