Originally Posted by darak
In Perl script, after I issue a command, I will get a prompt to answer either yes or no, how do I auto reply with my answer? Thanks in advance!
Uhh...why are you writing a script to prompt you for an answer, when you obviously already KNOW what you're going to type? Rewrite the script to use whatever answer you want, and not prompt you for it.
Or you can put a 'default' choice in the script, and have it auto-accept it after a certain amount of time 'paused'. Or you can run it via a shell script, using expect to automate it...