Giter Site home page Giter Site logo

42-minishell's Introduction

42-Minishell

Project Description

This is the Minishell project for the 42 school curriculum. The goal of this project is to create a simple shell, capable of handling basic command-line operations. The Minishell project is designed to deepen your understanding of processes, file descriptors, and basic shell functionality.

Features

  • Command Execution: Minishell can execute simple commands with or without arguments.
  • Redirection: Support for input and output redirection (>, <).
  • Pipes: Ability to handle multiple commands connected by pipes (|).
  • Environment Variables: Implement basic support for environment variables like $HOME, $PWD, etc.
  • Signals: Minishell should handle signals (Ctrl-C, Ctrl-D, etc.) appropriately.
  • Line Editing: Use the GNU Readline library to provide basic line editing capabilities.
  • Error Handling: Implement error handling and display meaningful error messages.

Getting Started

Prerequisites

  • GCC compiler
  • GNU Make
  • Readline library

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/42-minishell.git
  2. Change into the project directory:

    cd 42-minishell
  3. Build the project:

    make
  4. Run Minishell:

    ./minishell

42-minishell's People

Contributors

patrick-hacks avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.