daily pastebin goal
82%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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"
RAW Paste Data
Top