Skip to content

rimarque/Minishell

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Minishell

๐Ÿ’ฌ About

Minishell is a project that seeks to recreate a shell inspired by Bash, coded in C.

๐Ÿ™‹โ€โ™€๏ธ Authorship

๐Ÿ“ฅ Cloning the repository

git clone git@github.com:rimarque/Minishell.git 

๐Ÿ’Ž Features

- Prompt display
- Lexer and parser for the input, with the use of an abstract syntax tree
- Incorporation of the echo, cd, pwd, unset, export, env and exit built-ins
- Support for pipe functionality, enabling users to chain multiple commands together
- Implementation of overwrite and append redirections (input and output, including here_doc)
- Handling expansion of environment variables and exit status
- Handling single and double quotes
- Signal handling for ctrl-C, ctrl-D and ctrl-\
- Continuous update of exit status
- Working history

๐Ÿ”— Compilation

To compile the program you should run make.

This rule will generate an executable file named minishell. To launch the executable you should follow this syntax:

$ ./minishell

About

Creating a shell, inspired by bash. Coded in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.7%
  • Makefile 2.3%