• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

automatically answer y/b prompt in bash?

edmicman

Golden Member
I've "inherited" a task at work where I'm doing some scripting in bash on a windows box :-/. The script works, and is executing a command. This command does a process, and then has a y/n prompt and waits for user input. Is there a way for me to have it automatically send a "Y" to it so a user doesn't need to babysit it? Sorry, I'm a bit new to the whole scripting/bash thing. Thanks!
 
Back
Top