subject
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
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
question
Engineering, 04.07.2019 18:10
Assuming compressible flow of air and that the measurements are done at flagstaff a pitot static tube that gives the difference of total and static pressure measures 0.35 m of mercury. what is the velocity of air? assume the temperature to be 300k. (submit your excel or matlab calculation sheet)
Answers: 1
question
Engineering, 04.07.2019 18:10
Courses that are developed by subject matter experts, internal or extemal to the college or university. these programs are marketed by the school (clo2) marks a)-vocational schools b)-vendor training c)-colleges & universities d)-continuing education programs
Answers: 2
question
Engineering, 04.07.2019 18:20
Aquick transition of the operating speed of a shaft from its critical speed will whirl amplitude. (a) increase (b) limit (c) not affect (d) zero
Answers: 2
You know the right answer?
Write a program called minishell that creates two child processes: one to execute 'ls -al' and the...
Questions
question
Biology, 17.07.2019 09:10
Questions on the website: 13722360