Skip to content

This is a team project to build a simple version of the shell

Notifications You must be signed in to change notification settings

sir-george2500/simple_shell

Repository files navigation

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

About

This is a team project to build a simple version of the shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages