Question: Using only C, Implement a mini Linux shell that can interpret and execute the commands that are typed in interactively or included in batch files.

Using only C, Implement a mini Linux shell that can interpret and execute the commands that are typed in interactively or included in batch files. The shell is designed to be able to execute commands concurrently, in order to finish tasks more quickly. With a batch file and the shell executing the batch file, combine a few tools in Linux to finish a big-data processing task --- finding out most frequently used words on Wikipedia pages 1. The executable file of the mini shell can be successfully generated with gcc on an afs server. 2. The program for generating the batch file can be successfully compiled with gcc on an afs server. 3. Launch your mini shell in the interactive mode (i.e., no arguments in the command line). Do not type in anything. Your mini shell should not crash, and should be able to show a prompt. 4. In the interactive mode, your mini shell can successfully execute and finish the commands without arguments in the foreground. 5. In the interactive mode, your mini shell can exit when quit command is typed in. 6. In the interactive mode, your mini shell can successfully execute and finish the commands with arguments in the foreground. 7. In the interactive mode, your mini shell can successfully execute and finish the commands in the background.

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!