Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Blogs > brajeshkumar
User Name


  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 | ./

    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 10:23 AM.

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