/simple_shell

a program written in c to mimick linux shell

Primary LanguageC

Wicksh Simple Shell Project

This serves as a straightforward Unix command line interpreter crafted as a component of the Simple Shell initiative at ALX School.

Overview

The Simple Shell functions as a fundamental command-line shell capable of executing basic Unix commands. It is meticulously designed to fulfill the project's specifications and educational objectives. The project encompasses various tasks, each progressively building upon the previous one to augment the shell's capabilities.

#Table of Contents

  1. Project
  2. Instruction
  3. Prerequisites
  4. Usage

Project Tasks

  • Task 0: Eliciting pride from Betty
  • Task 1: Simple shell 0.1
  • Task 2: Simple shell 0.2
  • Task 3: Simple shell 0.3
  • Task 4: Simple shell 0.4
  • Task 5: Simple shell 1.0
  • Task 6: Simple shell 0.1.1 (Advanced)
  • Task 7: Simple shell 0.2.1 (Advanced)
  • Task 8: Simple shell 0.4.1 (Advanced)
  • Task 9: setenv, unsetenv (Advanced)
  • Task 10: cd (Advanced)
  • Task 11: ; (Advanced)
  • Task 12: && and || (Advanced)
  • Task 13: alias (Advanced)
  • Task 14: Variables (Advanced)
  • Task 15: Comments (Advanced)
  • Task 16: File as input (Advanced)

Getting Started

These instructions will guide you in setting up and running the simple shell on your local machine.

Prerequisites

  • A system with Ubuntu 20.04 LTS.
  • GCC compiler.
  • Proficiency in Unix commands and C programming.

Installation

To compile the shell, execute the following command:

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