Question: 4 Design and implement C/C++ program (myfile.c in loop: (l) to prompt for a command, (2) to read a command 5 (from keyboard as you

 4 Design and implement C/C++ program (myfile.c in loop: (l) toprompt for a command, (2) to read a command 5 (from keyboard

4 Design and implement C/C++ program (myfile.c in loop: (l) to prompt for a command, (2) to read a command 5 (from keyboard as you type (3) to echo the command, (4) to fork a child process to process command while the 6 parent process is waiting for child process to complete this part, and then (5) the parent is back to the command 7 prompt for next command. 9 The commands are: read, write, and append, and exit. The following tasks (that is, test cases) are to be 10 implemented. 11 12 Taski. When the command is "exit", then the program terminates with exito). 14 Task2. The "read" command will do a file-redirection for a file to be read and to be written to a temporary file. For 15 example read 34 include Katrina 35 include

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!