Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1009 Bytes

README.md

File metadata and controls

52 lines (42 loc) · 1009 Bytes

Minishell

minishell is a command interpreter based on bash.
It must implements basic functionalities of a shell like environment variable, builtins, pipes...

minishell

Features

  • cd
  • pwd
  • echo
  • export
  • unset
  • env
  • exit
  • CTRL-C
  • CTRL-\
  • CTRL-D
  • | pipes
  • ; semicolons
  • > >> < << redirections
  • && || operators
  • * wildcard
  • local variable
  • env expansions + $?
  • line edition
  • termcaps
  • history (up/down arrows)
  • move cursor (left/right arrows)
  • move word by word (CTRL-left/CTRL-right)
  • move to beginning/end of line (HOME/END)
  • change line (CTRL-UP/CTRL-DOWN)
  • copy/paste/cut from cursor position (ALT-X/ALT-C/ALT-V)

Usage

# Compile the mandatory part
make

# Compile with bonus (termcaps)
make bonus

# Launch the shell
./minishell

Authors