I am trying to write a script that uses lynx (and eventually links as well) in order to go to an URL, and then login with a username and password. Here's what I have so far:
#ask for login name
read -p "Please Enter your Username: " username
#ask for password
read -p "Please Enter your Password: " passw
lynx -accept_all_cookies http://www.theurl.com/my_account
this isn't working at all. I would also prefer for all of the stuff lynx is doing to NOT be displayed to the user...rather I would like to show a progress bar or spinner while lynx does its thing that the script is telling it to do. I'm new to using lynx within a bash script and any help would be greatly appreciated. Any suggestions?