GithubHelp home page GithubHelp logo

alphacharge / minishell Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 366 KB

A selfcoded bash oriented shell

License: GNU General Public License v3.0

Makefile 3.45% C 96.55%
42projects 42school minishell minishell42

minishell's Introduction

42 Minishell Project README

Overview

Welcome to Minishell, a simple UNIX command-line shell implementation developed as part of the 42 school curriculum. This project aims to provide a basic understanding of how shells work and how commands are executed in a UNIX-like environment.

Installation

This project should compile under Mac OS and Unix:

git clone https://github.com/Alphacharge/minishell.git
cd minishell
make

Dependencies

libft Lib

Description

This minishell should behave like Bash.

Following builtins are built in:

  • cd (relative and absolute paths)
  • echo (with -n)
  • env (no options)
  • exit (no options)
  • export (no options)
  • pwd (no options)
  • unset (no options)

Signals:

  • ctrl-C
  • ctrl-D
  • ctrl-\

Operators:

  • <<
  • >>
  • <
  • >
  • |

Variables:

  • normal variable expanding like $HOME
  • $?

Quotes:

  • Single Quotes
  • Double Quotes

Usage

./minishell

Contributors

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

Acknowledgments

  • Thank you to the 42 school for providing the opportunity to work on this project.
  • Inspiration from various UNIX shells and open-source projects.

Feel free to contribute, report issues, or suggest improvements! Happy coding!

minishell's People

Contributors

alphacharge avatar phipno avatar

Watchers

 avatar

Forkers

fkernbac

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.