I am trying to automate something using shell script.
My question is when there is a system prompt, for e.g. "Do you want to continue (y/n):" And I need to input y using my shell script, how can it be done ? So at the end when the system prompt displays on the shell then my shell script should be automatically able to enter y.
Thanks in advance.