If you'd like to ignore some interactive questions provided by some script, you can try:
yes | your_command
Or yes "n"
if you'd like to No all the questions.
Command:
yes -- be repetitively affirmative yes outputs expletive, or, by default, 'y', forever.