A small Unix shell written in C from scratch, built to understand how Unix shells work internally.
- Execute external commands through
$PATH - Command arguments
- Built-in commands:
cdpwdexit
- Environment variable expansion:
$HOME$USER$PATH
- Output redirection:
>
- Supports commands such as:
lscatecho
Mini-Shell/
├── Makefile
├── README.md
├── include/
│ └── shell.h
└── src/
├── main.c
├── parser.c
├── builtins.c
├── utils.c
└── redirections.c
- C
- GCC
- Linux / WSL
- Makefile
- Unix system calls
Built from scratch as a learning project to understand processes, fork(), execve(), file descriptors, environment variables, and shell behavior.