Giter Site home page Giter Site logo

minishell's Introduction

Minishell Readme

Minishell


Minishell is a shell implementation written in C as part of the 42Cursus curriculum. It provides a basic command-line interface where users can execute commands and interact with the operating system.


Index

Features


  • Command execution: Minishell allows users to execute various commands, including built-in commands and external programs.
  • Input/Output redirection: Users can redirect input and output streams using the < and > operators.
  • Pipes: Minishell supports command piping, allowing users to chain multiple commands together.
  • Environment variables: Users can set and manipulate environment variables using the export command.
  • Signal handling: Minishell handles signals such as Ctrl+C and Ctrl+D to provide a smooth user experience.

Getting Started


To get started with Minishell, follow these steps:

  1. Clone the repository: git clone [email protected]:VolmerES/Minishell.git
  2. Navigate to the project directory: cd minishell
  3. Build the project: make
  4. Run Minishell: ./minishell

Usage


Once Minishell is running, you can use it just like any other shell. Here are some examples of commands you can try:

  • Execute a command: ls -l
  • Redirect input: cat < input.txt
  • Redirect output: ls > output.txt
  • Pipe commands: ls -l | grep "file"
  • Set environment variable: export MY_VAR=Hello
  • Access environment variable: echo $MY_VAR

For more information on how to use Minishell, refer to the project documentation or the source code.

About the code


Untitled

Contributing


Contributions to Minishell are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.

License


Minishell is open-source software licensed under the MIT license. See the LICENSE file for more information.

minishell's People

Contributors

davidiaz1251 avatar volmeres avatar luiz-pastor 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.