Skip to content

codastream/42-minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

572 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniShell

This is a project from 42 common core developed with Djo-msv

Developed skills

Skill Wiki Link
Bash Bash
Makefile Makefile
C C
IPC Inter-process Communication
Tokenization Lexical Analysis / Tokenization

Requirements

This projects aims at replicating a very basic shell with :

  • basic interactive display with history
  • interpretation and execution of commands (with name or absolute path)
  • interpretation of variables
  • interpretation of wildcard * for the current directory
  • handling of single and double quotes
  • handling of redirections and heredoc (<, <<, >>, >)
  • handling of pipes
  • handling of execution status
  • handling of EOF and signals SIGINT, SIGQUIT

A few builtin commands with no options were also implemented :

  • cd
  • pwd
  • export
  • unset
  • env echo with option n was also implemeted.

Program Flow

overview

Setup

make
./minishell

About

basic command line interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •