Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.66 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.66 KB

Simple Shell Project

Image of the shell we Created

Contributors: George S. Mulbah and Sunday Deborah; ALX Students in Cohort 17.

Language use

Image of the C language

Introduction

This Simple Shell project is a command-line interpreter developed as a part of our ALX Software engineeringProgram. It is designed to demonstrate our understanding of fundamental concepts in C programming, including process management, system calls, and basic user interaction. It serves as a basic Unix-like shell that allows users to execute simple commands and provides a minimal shell experience.

Project Description

This shell is a basic shell that prints a prompt, waits for user to enter command, handles user input and executes basic shell commands. It provides the following functionalities:

  • Displays a simple prompt (where 'prompt' is a customizable string; e.g., debs_george$ for this project).
  • Accepts one-word commands from the user and executes them.
  • Handles errors gracefully, including displaying an error message for command not found.
  • Closes the shell when the "end of file" condition is encountered.
  • Provides a clean and minimalistic shell experience without advanced features.

To Run this project you must compile it with this command

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