Skip to content

makseem77/minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

233 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minishell

A simple shell implementation in C, built as part of the 42 curriculum.

overview

Recreation of basic bash functionality with custom parsing and execution engine.

features

  • Command execution with PATH resolution
  • Built-in commands (echo, cd, pwd, export, unset, env, exit)
  • Pipes and redirections (|, <, >, >>)
  • Environment variable expansion ($VAR)
  • Signal handling (Ctrl-C, Ctrl-D, Ctrl-)
  • Quote parsing (single and double quotes)

usage

make
./minishell

About

A simple shell implementation in C, built as part of the 42 curriculum.

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors