-1

Additionally to this task I have to count in the child process all the numbers received from the parent process and print them!

Thanks in advance! :)

0
i=0
while [[ $i -lt 60 ]]; do
    i=$((i+1))
    echo $(($RANDOM%9999/10)) | some_other_process
done

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.