a task given to me is to make a shell which will have the following qualities....
"The most rudimentary shell is structured as the following loop:
- Print out a prompt (e.g., "OS_Spring2011_Shell$ ");
- Read a line from the user;
- Parse the line into the program name and an array of parameters;
- Use the fork() system call to spawn a new child process;
o The child process then uses the exec() system call (or one of its variants)
to launch the specified program;
o The parent process (the shell) uses the wait() system call (or one of its
variants) to wait for the child to terminate; - Once the child (the launched program) finishes, the shell repeats the loop by jumping to 1."
please help me in this matter........