Could someone please provide help for me.
I tried to start writing a shell script but am getting hung up with this issue.
I need to grep
commands "adb shell ps" and find in it 3 processes with names:
- proc1
- proc2
- proc3
And if these processes are present in the grep
output, then continue work with the script, else check the grep
5 times within the interval - 30 seconds. Finally - if my process doesn't start, just exit form script.