Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.29 KB

README.md

File metadata and controls

71 lines (46 loc) · 1.29 KB

Simple Shell Project

License

A simple shell implementation in C that provides basic command-line functionality.

Table of Contents

Features

  • Basic shell prompt
  • Command execution
  • Pipe support
  • Redirection support
  • Background execution
  • Signal handling

Getting Started

Prerequisites

  • GCC compiler
  • Linux-based operating system

Installation

  1. Clone the repository:

    git clone https://github.com/ElsanzioKE/simple_shell.git
  2. Compile the code:

    cd simple-shell
    gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh

Usage

  1. Run the shell:

    ./simple_shell
  2. Enter commands at the prompt:

    $ ls -l

    The shell will execute the command and display the output.

Contributing

Contributions are welcome! Please follow the Contribution Guidelines before submitting pull requests.

License

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