Question: PLEASE ANSWER THIS I LINUX TERMINAL. THANKS. Create a program that does the following. - Creates a master process with two child processes using fork()
PLEASE ANSWER THIS I LINUX TERMINAL. THANKS.
Create a program that does the following.
- Creates a master process with two child processes using fork()
- The master process writes two files child1.txt containing the line child 1 and child2.txt containing the line child 2
- Each of the two child processes waits one second then reads the contents of their text file and prints the contents.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
