Timeline for Executing cat|grep|grep using 2 pipes
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 10, 2020 at 13:09 | vote | accept | Sergio | ||
Apr 9, 2020 at 14:50 | comment | added | jubnzv |
wait() is required because only parent process will reach this point. We need to wait all child processes created with fork() to make sure, that they was completed, and free resources.
|
|
Apr 9, 2020 at 14:44 | comment | added | Sergio |
what's the purpose of the for loop at the end of your code
|
|
Apr 9, 2020 at 14:28 | history | answered | jubnzv | CC BY-SA 4.0 |