AcademicUPCA · Operating Systems
Mini Shell File System
A small file-management system with its own interpreter, written in C without high-level libc functions and without system().

Context
Operating Systems coursework for the Computer Systems Engineering degree, UPCA, 2025/26.
My role
I'm the sole author of the repository: I wrote the commands, the interpreter and the build and Docker setup.
Solution
- I implemented eight commands (named in Portuguese: mostra, copia, acrescenta, conta, apaga, informa, lista, procura) with open, read, write, close, stat and opendir/readdir.
- The interpreter has its own prompt and runs commands through fork, execve and wait.
- It supports input and output redirection and a simple pipe between two commands.
- Errors go to stderr.
Technical decisions
- POSIX system calls only, with no high-level libc functions and no system(), so file descriptors and processes are handled directly.
- A Makefile that builds into build/bin.
- A Docker image that boots straight into the interpreter.
Result
The project was graded 20 out of 20 (2025/26).