turt is a simple shell written in C. (This repository contains a working version. More advanced features are currently in development.)
-
Parses and executes external commands (like
ls,ps,grep). -
Handles built-in commands (
exit,cd). -
Line editing, history (Up/Down arrows), and Tab-completion via GNU
readline.
This project depends on the GNU readline library for all input handling.
sudo apt update
sudo apt install libreadline-dev
brew install readline
(Note: You may need to modify the Makefile on macOS to point to Homebrew's readline path, as macOS uses a different library by default.)
Once all dependencies are installed, just run make:
make
./turt
make clean