Skip to content

tafinni/minishell

Repository files navigation

minishell

A simple shell implementation that replicates basic functionalities of a Unix shell. This was a project done with a pair. I focused mainyl in parsing of arguments, tokenization, file descriptors, redirections, heredoc, pipes and process execution.


Features

  • Command execution with arguments
  • Built-in commands: cd, echo, env, exit, export, pwd, unset.
  • Enviroment variable handling
  • Redirections: input <, output >, append >>, heredoc <<
  • Pipes |
  • Signal handling
  • Error handling

Usage

  1. Clone the repository
    ǵit clone https://github.com/tafinni/minishell.git
  1. Build the project
    cd minishell
    make
  1. Run
    ./minishell
  1. You can try builtin commands but also other standard commands will work, for example builtin echo and standard command ls
    echo "hello world"
    ls

About

A custom Unix shell project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors