Skip to content

risudo/minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minishell

render1632878809870

About

minishell is a simple shell program that implements the minimum functionality of bash.
Using the C programmming language.

Building and Running

git clone "URL"
cd minishell
make
./minishell

Description

  • Special characters to be interpreted:
    • quotes : '', ""
    • pipe : |
    • redirect and heredocument : <, <<, >, >>
  • Implemented builtins:
    • echo with option -n
    • cd with only a relative or absolute path
    • pwd with no options
    • export with no options
    • unset with no options
    • env with no options or arguments
    • exit with no options
  • Environment variables ($ followed by characters) expand to their values.
  • $? expand to the exit status of the most recently executed foreground pipeline.
  • ctrl-C ctrl-D ctrl-\ work like in bash.
  • When interactive:
    • ctrl-C print a new prompt on a newline
    • ctrl-D exit the shell
    • ctrl-\ do nothing

For more information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •