Skip to content

vvaucoul/Minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

114 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell

Minishell is a lightweight shell with some functionnalities, like:

  • Input managment
  • Redirections (>, <, >>, <<)
  • Pipes ( | )
  • Wildcards ( * )
  • Operators (; , &&, ||)
  • Termcaps management
  • and other things...

Usage

  • Clone Repository
git clone https://github.com/vvaucoul/Minishell && cd Minishell
  • Compilation
make
  • Start the new shell
./minishell

Shell Content

Builtins

  • cd
  • export
  • echo
  • env
  • exit
  • pwd
  • unset

Redirections

  • >
  • >>
  • <
  • <<

Pipes

  • Infinity of pipes.

Signals

  • SIGINT [CTRL-C]
  • SIGQUIT [CTRL-]
  • EOF [CTRL-D]

Operators

  • ;
  • &&
  • ||

Parenthesis

  • (,)

Shell System

flowchart LR
   EnterShell --> InitShell --> StartMinishell
  
   InitShell --> InitTerminal
  
   StartMinishell --> MinishellLoop
   
   StartMinishell --> InitMinishell
   
   MinishellLoop --> WaitInput --> ParseInput --> ExecuteInput --> MinishellLoop
Loading

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors