Hello,
I maintain both RHEL5 and RHEL 6 servers. In order to connect to the outside web I must first authenticated to a web proxy and if no GUI browser is available (Firefox) I used lynx.
I'm writing a BASH script that downloads a lot of .tar source files from public sites, ie gnu.org. The intended users of the script would just like to execute the script, enter their credentials and have it complete it's task.
The command below works on RHEL6, but not RHEL5. I cannot get it to work on RHEL5, due to the older version of wget. Any ideas?
Thanks in advance
Code:
wget --user=USERNAME --ask-password http://URL