An extremely simple shell executes a read-eval loop that repeatedly does the following:
- Print a shell prompt.
- Read a command plus any command line arguments
- Create a child process
- The child process loads the program for the command and executes it and terminates.
- The parent (the shell) waits (usually) for the child to finish.