Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL For Data Science Data Cleaning Wrangling And Analytics With Relational Databases

Authors: Antonio Badia

1st Edition

3030575918, 978-3030575915

More Books

Students also viewed these Databases questions

Question

Types of Interpersonal Relationships?

Answered: 1 week ago

Question

Self-Disclosure and Interpersonal Relationships?

Answered: 1 week ago