Injecting an answer into an install file in Linux

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


Category: linux Time: 2016-07-29 Views: 0
Tags: linux

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.243 (s). 12 q(s)