Skip to content

cringey303/turt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

turt - Tiny UNIX REPL Terminal

turt is a simple shell written in C. (This repository contains a working version. More advanced features are currently in development.)

image

Features

  • 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.

Building from Source

Dependencies

This project depends on the GNU readline library for all input handling.

On Debian/Ubuntu (or WSL):

sudo apt update
sudo apt install libreadline-dev

On macOS (using Homebrew):

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.)

Compiling

Once all dependencies are installed, just run make:

make

Running

./turt

Cleaning up build files

make clean

About

TURT (Tiny Unix REPL Terminal): A simple shell written in C

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors