Advertisement
Guest User

Untitled

a guest
Apr 16th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3.  
  4. echo "Please insert a specific Ubuntu Version (Only X.10 versions are supported):"
  5. read VERSION
  6.  
  7. # those are variables - naming is customizable
  8. # import NO WHITESPACES
  9. # KEEP IN MIND: always name variables in relation to the value it stores (think about looking at it in 2 weeks from now)
  10. PUPS="http://old-releases.ubuntu.com/releases/"
  11. PUPS_2="ubuntu-$VERSION-desktop-amd64.iso"
  12.  
  13. # use wget to just download a file
  14. # or use httpie (https://httpie.org/doc)
  15. # or use curl
  16. http -d "$PUPS$VERSION/$PUPS_2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement