help me in this project
plesae
see Attach File
#define TRUE 1
while(TRUE){ //repeat forever
type_prompt(); //display prompt on the screen
read_command (command, parameters); //read input from terminal
if(fork()!=0){ //fork off child process
waitpid(‐1, &status, 0); //wait for child to exit
}
else{
execve(command, parameters, 0); //execute command
}
}
Write a shell that is similar to the above code snippet, but contains enough code that it actually works so
you can test it, your shell must support background jobs and command history.