Skip to content

🐚 Own implementation of the shell. As beautiful as a shell.

Notifications You must be signed in to change notification settings

romanwrites/minishell

Repository files navigation

minishell

School 21 project. Implementation of own minishell.

By Roman Kukin && Ilia Sagaidak

Features

pipes, semicolons, escape sequences, enviroment variables, $?, ~, redirections: > >> <

Builtins: cd, pwd, echo, export, unset, env, exit.

Signals: Ctrl-C, Ctrl-\, Ctrl-D.

Parser opens quotes ' " like in bash and handles \ even in ' " different context.

Commands work with absolute and relative paths.

Minishell writes errors to 2, output to 1 and prompt to 0. Acts as bash.

Installation

git clone https://github.com/kukinpower/minishell.git
cd Minishell
make
./minishell

Usage

About project

Useful links

▶️ Unix Pipeline (Brian Kernighan) - Computerphile

Credits

Authors: Roman Kukin && Ilia Sagaidak

Shell image on the cover by Aaron Burden on Unsplash