yel-hadr / minishell

s project is about creating a simple shell.
2 stars 0 forks source link

Minishell

Minishell is a simple shell implementation written in C. It provides a minimalistic command-line interface with basic shell functionalities.

Table of Contents

Introduction

Minishell is a lightweight shell designed to demonstrate basic shell operations and provide a learning resource for understanding shell programming. It includes features commonly found in Unix-like shells, allowing users to interact with the system through a command-line interface.

Features

Table of Contents

Introduction

Minishell is a lightweight shell designed to demonstrate basic shell operations, with a special emphasis on efficiently searching for and launching executables. It provides a command-line interface that allows users to execute programs either by specifying their absolute or relative path or relying on the system's PATH variable.

Features

Command Execution

Describe the command execution feature here. Include any details about how Minishell executes commands and any specific behaviors.

Built-in Commands

Minishell supports various built-in commands. Some examples include:

Redirection

Minishell supports input/output/appended/heredoc redirection. Here are examples:

Pipeline Support

Execute commands in a pipeline using the | operator:

```bash
command1 | command2
```

Installation

To use Minishell, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yourusername/minishell.git
    cd minishell
  2. Build the project:

    make
  3. Run Minishell:

    ./minishell

Usage

Minishell supports standard shell commands and features. Here are some examples:

For more information, refer to the man page or help command within Minishell.

Contributing

Contributions are welcome! If you'd like to contribute to Minishell, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and submit a pull request.