Skip to content

solaldunckel/minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

42 - Recreate a simple shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published