Skip to content

k-allard/my_own_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell

Bash implementation

This is a collaborative project @kallard && @cwindom (aka fastest shell team)

Usage

  1. Type make command in the root directory of this project
  2. Launch fastestshell by typing ./minishell

What is does?

✅ Builtin commands:

  • echo with option -n
  • cd with a relative or absolute path
  • pwd without any options
  • export without any options
  • unset without any options
  • env without any options and any arguments
  • exit without any options

; commands separator

and " work like in bash except for multiline commands

✅ Redirections < > >> except for fd aggregation

✅ Pipes |

✅ Environment variables $ followed by characters

✅ Last exit code $?

✅ Signals ctrl-C, ctrl-D and ctrl-\ have the same result as in bash

Examples

video_1

video_2