Command Shell


This simple command line shell was an assignment for my Systems Programming course at the University of Miami. It reads in commands and then executes the requested action or program. All special characters, such as quotes, are marked with a parity bit and processed with a certain order of precedence (e.g. single quotes before double quotes). It supports shell variables and aliases, as well as an echo command. Any other command is treated as an existing executable and called in its own child process with fork and execvp.

Command Shell Code - Type: Unix, C - Date: 2016