I am trying to write a .sh script to download, install, and configure a certain application. I can get the file downloaded with wget, chmod +x the installer file, call the installer file, however, the EULA shows up with --More-- at the bottom and I can not get the script to inject the 'q' key to get to the accept/deny area of the EULA. If I manually hit the 'q' key the script continues and will inject my 'y' into the next part. Here is what I have so far.
chmod +x installer.x86_64.rpm.bin ./installer.x86_64.rpm.bin<<! q y