Programming Homework Help

Cleveland State University Creating a Simple My Shell Program Code

 

I’m working on a linux project and need an explanation and answer to help me learn.

Creating a simple MyShell program, using functions like pipe(), fork(), exec*() system calls (Do not use execvp()). Implement the following functionalities “cd” using the chdir() function and “quit” to leave the shell.

The attached document goes into further details in the “Overview” section. Something to note, in the attached document a base shell referred to as “myshell” is allowed to be used. Below is the code offered for the “myshell base”.