I run a bash script. After some minutes execution it prompts me enter 'Y' or 'N' to continue. Some minutes later it can prompt me again some times.
Is it possible to answer its questions automatically in common if I know the count and sequence of right answers (e.g. Y, N, N, N)