![subject](/tpl/images/cats/User.png)
Engineering, 18.12.2019 19:31 chrisroman152
Write a program called minishell that creates two child processes: one to execute 'ls -al' and the other to execute ‘grep minishell. c’. after the forks, the original parent process waits for both child processes to finish before it terminates. the parent should print out the pid of each child after it finishes. the standard output of 'ls -al' process should be piped to the input to the 'grep minishell. c' process. make sure you close the unnecessary open files for the three processes. the output should be the one line that includes the directory entry for minishell. c. you will need to call the source file minishell. c for this to work properly.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Engineering
![image](/tpl/images/cats/User.png)
Engineering, 03.07.2019 14:10, aliceohern
The y form of iron is known as: a) ferrite b) cementite c) perlite d) austenite
Answers: 3
![image](/tpl/images/cats/User.png)
![image](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10, viicborella
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
![image](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10, yasminothman02
An air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
You know the right answer?
Write a program called minishell that creates two child processes: one to execute 'ls -al' and the...
Questions in other subjects:
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 14.10.2019 15:50
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/biologiya.png)
Biology, 14.10.2019 15:50
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 14.10.2019 15:50
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/biologiya.png)
Biology, 14.10.2019 15:50
![Konu](/tpl/images/cats/mat.png)