scndcorp
Available
Work
École 42 ParisDeveloper, École 42 project

Minishell, reimplementing a Unix shell in C

École 42 project, reimplementing a complete Unix shell in C: built-ins, environment variables, pipes, redirections, heredocs.

École 42 Paris

Challenge

Gaining an in-depth understanding of how a Unix shell works (parsing, processes, file descriptors) by rebuilding it entirely from scratch, without relying on an existing interpreter.

Impact

  • Functional Unix shell recoded from scratch in C
  • Built-ins, environment variables, pipes, redirections and heredocs
  • Command of processes, file descriptors and signals

What was done

Development of a complete shell: lexer/parser of the command line, built-ins (cd, echo, export, unset, env, pwd, exit), environment variables, pipes, redirections and heredocs, creation of processes (fork/execve) and handling of signals.

Stack

The technologies used on this mission.

  • C
  • Unix
  • Processus (fork/execve)
  • Pipes & redirections
  • Signaux

A similar project in mind?

Let's talk through your challenges and see how to turn your vision into maintainable, tested technical reality.