/simple_shell

This repository contains a Simple Shell implementation, developed as a milestone project for the C curriculum at ALX Africa Software Engineering. Written in C, it offers a basic UNIX command interpreter, replicating functionalities of the simple shell (sh) and encompassing advanced concepts like process management and error handling.

Primary LanguageC

Descriptions

This repository contains a version of shell in C programming language, which maintains the main functions of basic function. It is totally requested by Alx-Africa School and done by Demiso Daba of Ethiopia and Princeeze of Nigeria

Requirements

Anyone must have the gcc compiler plus 64-bit operating system in his/her computer:

Options 🔎

In this shell, the following conversions of operators are available:

  • ls = lists the information about files and directories.

  • exit = can quits the program whenever needed.

  • env = cam prints the environment variables within it.

The tests ⚙

Clone the repo:

$ git clone https://github.com/DemisoDaba/simple_shell.git

Run this command:

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

And run the shell:

$ ./hsh