Skip to content
 
 

Latest commit

 

History

191 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minishell

Minishell is a two person project at 42. The goal is to create to create a bash-like shell from scratch.

Minishell Demo

How to run it

First you have to compile the project :

make

You can then run the program :

./minishell

A prompt will appear in the terminal, you can type in commands as you would with Bash. For example :

echo "Hello there !"

Features

  • Bash-like builtins (echo, cd, pwd, export, unset, env, exit)
  • Environment variables handling
  • Redirections (<, >, <<, >>)
  • Pipes |
  • Launch executables when given a relative/absolute path
  • Also search for executables in the PATH
  • Parameter expansion, quotes handling
  • Signal handling (ctrl-c, ctrl-d, ctrl-)
  • Commands history

About

Bash-like simple shell

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages