Created
May 23, 2018 18:44
-
-
Save sio2boss/102ebed46018d376326865bd7219c9c5 to your computer and use it in GitHub Desktop.
Pass params to wget so you can download Java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment