M
M
mmix092017-07-22 20:17:15
linux
mmix09, 2017-07-22 20:17:15

How to catch grep without waiting for the end of command execution?

if  ; then
  bash command2.sh
fi

Can you please tell me how to execute command2.sh without waiting for the end of my_program output?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
4
4X_Pro, 2017-07-22
@XXXXPro

The --max-count=1 option will help you (or even just -m).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question