Unix command line shell.
Shell is an UNIX shell interface that accepts user commands and then executes each command in a separate process.
Shell was created to solve a programming project in the Operating Systems Concepts book.
It has a lot of globals, which is something I wouldn't do now. But it's split into different functions fairly well.
Go to http://www.josephcmontgomery.com/projects.html#shell for more info about the development process.
make
should build it. ./shell
should execute it.
history
will show the last 10 commands executed. The number of commands remembered can be changed in the code.
!!
will execute the previous command if it exists.
!n
will execute command n, e.g. !10
will execute the 10th command if it exists and is within the history window.
When you're done, type exit
to leave the shell.