LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs > brajeshkumar
User Name
Password

Notices

  1. Old Comment

    Press Enter to Continue ..

    Fist of all it's usually recommended that such questions are made on the forums rather than as blog posts. The odds that someone will read and answer them are a bit better.


    But anyway, I don't know if whatever you're doing is a good idea to begin with, but I think you can manage to "answer" the "press enter to continue" by "piping" the script to the command "yes" (with no parameters, I guess).

    That would be:

    $ yes | ./script.sh


    I'm not sure it's really answering with the equivalent of "enter" though, I don't know how to test it for specifically "enter". It seems it works from a dummy script that is just "read variable ; echo ok". It may be better to create a post at the forums.
    Posted 04-12-2012 at 04:39 PM by the dsc the dsc is offline

  



All times are GMT -5. The time now is 01:37 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration