Skip to content

Ma7moudMSA/simple_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Shell Program for ALX

Description

This repository contains a simple UNIX command interpreter written as part of the ALX School curriculum. The program replicates functionalities of the simple shell (sh). Functions include reading, parsing, executing commands, and handling environment variables.

Installation

Clone this repository to your local system. This will create a directory containing all the files needed to compile and run the shell.

git clone https://github.com/Ma7moudMSA/simple_shell.git

Compilation

The shell should be compiled this way:

gcc -Wall -Werror -Wextra -pedantic *.c -o hsh

Usage

After compilation, the shell can be run with:

./hsh

Features

  • Handles commands with options and arguments.
  • Handles the PATH.
  • Implements builtins like exit, env, setenv, and unsetenv.

Authors

  • Mahmoud Medhat
  • Moumen Hassan

Acknowledgments

This project is part of the curriculum for ALX School.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages