Write a program in the C language that will implement a shell.
The program will run in an infinite loop and will:
-Print a prompt
-Input a program name to execute
-Will fork, execute the program, wait for the program to finish and return to the loop.
It is recommended to use fork, execv and wait.
In order to break the loop, issue the exit command
The program should use the current path variable, you should use getenv() to get the current path, and you can use strtok to split the path.
Other implementations will be accepted as well.
Good luck.