Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running a bash script from a remote host to run a binary file which installs 64 bit JDK 6 update 29 on multiple VMs across the Environment. It is installing the file but, at the last line i have to hit a enter to complete the installation. I want to fully automate the script where i do not have to hit the enter at the last line. This is what i am using

ssh ${V_TIERS}@${V_TIERS} 'cd JDK; sh'

It updates as desired, but during install i have to hit enter to continue and complete the installation. Can anybody please help to fully automate the update process.

share|improve this question


ssh ${V_TIERS}@${V_TIERS} 'cd JDK; echo | sh'
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.