Skip to content

6jeanne6/minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

142 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📖 Description

minishell is a project from 42 Common Core cursus, in which a simple shell based on Bash Posix must be created, interpret the user's input and execute the command.

This project was done by two students : 6jeanne6 and Lothinnt

Main features asked for this minishell are:

• History to browse through former prompts

• Executables based on PATH variable or with an absolute or relative path

• Signal management: SIGINT, SIGQUIT

• Redirections: standard input and output, namely < << > and >>

• Handle environment and expand their variables starting with $

• $? to display exit status

• Pipelines

• A few builtins: echo with -n option, cd with only a relative or absolute path, pwd, export, unset, env, exit

⚙️ Installation

  1. Clone the git repository
git clone https://github.com/6jeanne6/minishell.git minishell
  1. Go to minishell directory
cd minishell
  1. Compile
make

🚀 Usage

To launch our shell:

./minishell

About

As beautiful as a shell: create a simple bash shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors