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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started