/minishell

A project for 42 coding a bash like shell. We used a AST and it was my first time making a big project using a tree structure.

Primary LanguageC

Minishell

A project for 42 recoding a bash like shell by fredrikalindh and tharchen. Testers by us and solaldunckel.

Features

  • cd
  • pwd
  • echo
  • export
  • unset
  • env
  • exit
  • CTRL-C
  • CTRL-\
  • CTRL-D
  • | pipes
  • ; semicolons
  • > >> < redirections
  • && || operators
  • local variable
  • env expansions + $?

Usage

# Compile the mandatory part
make

# Compile with bonus
make bonus

# Launch the shell
./minishell