Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 725 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 725 Bytes

42_minishell

A teeny tiny shell built by rturcey and esoulard.

Includes an awesome tester initially posted by our 42 collegue sdunkel and to which we added everything we could!

A lovely simili shell with:

  • custom prompt,
  • executable launch with either a relative or absolute path,
  • built-in commands:
    • echo with option -n
    • cd with a relative or absolute path
    • pwd
    • export
    • unset
    • env
    • exit
  • separation of commandes with ;
  • single and double quote handling,
  • < , > and >> redirections
  • pipes and pipelines
  • environment variables
  • exit status of last cmd with $?
  • signal handling of ctrl-C, ctrl-D and ctrl-\

Written in summer 2020.