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
Get step-by-step solutions from verified subject matter experts
