This is a simple Unix shell implemented in C. It supports command parsing, built-in commands (cd, exit), external command execution, piping, redirection, background jobs, and signal handling.
- Command prompt and input parsing
- Built-in commands: cd, exit
- External command execution
- Piping (|)
- Input/output redirection (>, <, >>)
- Background jobs (&)
- Signal handling (Ctrl+C, Ctrl+Z)
make
./myshell
myshell.c
: Main shell implementationMakefile
: Build instructions
Type commands as you would in a normal Unix shell. Use exit
to quit.
MIT