Skip to content

Latest commit

 

History

193 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell

As beautiful as a shell

This project is about creating a simple shell. Yes, your own little bash. You will learn a lot about processes and file descriptors.

minishell

How to use

Clone the project

git clone https://github.com/pyven-dr/minishell.git

Compile

cd minishell && make

Run minishell

./minishell

Available features

  • (single quote)
  • " (double quote)
  • Redirections :
    • < should redirect input
    • > should redirect output
    • << should be given a delimiter, then read the input until a line containing the delimiter is seen. However, it doesn’t have to update the history
    • >> should redirect output in append mode
  • pipes (| character). The output of each command in the pipeline is connected to the input of the next command via a pipe
  • And (&& operator)
  • Or (|| operator)
  • Parenthesis (for priorities only)
  • Wildcards (* character) in current working directory
  • environment variables ($ followed by a sequence of characters)
  • $?
  • Signals :
    • ctrl-C
    • Ctrl-D
    • Ctrl-\
  • Builtins :

About

As beautiful as a shell

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages