Giter Club home page Giter Club logo

minishell's Introduction

Minishell

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

Screen Shot 2023-08-17 at 7 36 12 PM

Team work ๐Ÿ’ช

This project was done alongside Javier Sarabia(JaviBurn). Check him and his work out at these links:

Program

Initial installation

git clone https://github.com/magnitopic/minishell.git
cd minishell
git submodule init
git submodule update

Compilation and execution

Note: Readline is required for the program to compile. On Linux this should not be a problem. On Mac it can be installed with Brew.

If issues persist you might need to change the value of the EXTRAFLAGS var in Makefile

make
./minishell

Execution with no env

env -i ./minishell

Unsupported features

The Minishell project attempts to function very similar to Bash but some features are not required or are from the bonus part.

Unclosed quotes, or special characters that are not required by the subject like \(backslash), ;(semicolon) or !!(bang bang) are not supported.

&& and || with parenthesis for priorities as well as *(wildcards) are features from the bonus part.

The only implemented builtins are echo, cd, pwd, export, unset, env and exit.

minishell's People

Contributors

javiburn avatar magnitopic avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

javiburn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.