SkillAgentSearch skills...

Minishell

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

Install / Use

/learn @romanwrites/Minishell

README

minishell

School 21 project. Implementation of own minishell.

By Roman Kukin && Ilia Sagaidak

<img src="images/minishell_cover.png" />

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.

<img src="images/minishell-cmds.png" />

Installation

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

Usage

<img src="images/minishell.gif" />

About project

<img src="images/1.png" /> <img src="images/2.png" /> <img src="images/3.png" />

Useful links

▶️ Unix Pipeline (Brian Kernighan) - Computerphile

Credits

Authors: Roman Kukin && Ilia Sagaidak

<span>Shell image on the cover by <a href="https://unsplash.com/@aaronburden?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Aaron Burden</a> on <a href="https://unsplash.com/s/photos/shell?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span>

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated10mo ago
Forks3

Languages

C

Security Score

67/100

Audited on May 4, 2025

No findings