I'm trying to run 150+ commands that require a prompt of a yes or no depending on the output of these commands which needs to be manually verified.
I'd like to run all these commands at the same time because it takes about 30 to 60 seconds to run. I've tried to do this in screen
but I'm finding it difficult for it to wait for the command's prompt without killing itself.
I have zero preference on what cli command to use, whichever works. I'm open to tmux
, screen
, termocil
, itermocil
, tmuxinator
, etc.
Attempts
screen -dmS test "bash -c 'ls'"
screen -dmS test "ls"
Then when I try to access it via screen -r
I see this output
=== Window terminated (Thu Dec 13 23:33:13 2018) ===