Question: Create a program using c that does the following shell services: It runs programs in the background and foreground. It can list all running processs(pid)

Create a program using c that does the following shell services: It runs programs in the background and foreground. It can list all running processs(pid) that are running in the background. It can kill a process running in the background. The shell should give the promp "user>> " .It takes external commands and has built-in internal commands which are, "bye" which exits the shell, "tasks" which shows running background processes, and "kill" which kills back ground processes given the pid.

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!