I have a bash script that executes a web-based php script using lynx, then the browser stays active allowing the user to input commands. I would like to automate quitting lynx and continuing with the rest of the script.
In the script I have:
lynx "https://www.domain.com/script.php?"
[rest of script]
Is there a way to output a q followed by a y so the script will continue without needing input from the keyboard?