automatically acknowledge commands
Chris F.A. Johnson
cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org
Thu Jun 15 18:48:54 UTC 2006
On Thu, 15 Jun 2006, Neil Watson wrote:
> Since Ken missed out on the last one here's another. I have script that
> annoyingly requires a 'y' prompt part way through. Alas, the script is
> not mine and may change in the future. How can I automate the 'y'
> answer?
echo y | /path/to/script
yes | /path/to/script
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list