Custom Unix Shell
University Projects #Operating Systems
NOTEClick this link to view the code on GitHub.
Overview
A custom Unix shell implementing core shell functionality from scratch in C. Demonstrates deep understanding of process management, file descriptors, and inter-process communication using only system calls.
Key Concepts
- Built command parser that tokenizes input into executable commands
- Implemented process forking with
fork()andexecvp()for program execution - Created I/O redirection using file descriptors and
dup2() - Built piping infrastructure connecting stdout of one process to stdin of another
- Implemented process substitution
<(command)for advanced pipelines
Technologies
C, Unix System Calls