Consider the simple unix shell shown


Consider the simple UNIX shell shown below. What change will you make to it if you want the shell to execute each user command in the background (instead of foreground)?

#define TRUE 1
while(TRUE)
{
type-prompt();
read_command(command, parameters);
if (fork() > 0) // Parent's code
wait(NULL);
else // Child's code
execve(command, paramete 

Request for Solution File

Ask an Expert for Answer!!
Operating System: Consider the simple unix shell shown
Reference No:- TGS089547

Expected delivery within 24 Hours