Skip to content

Low-Level Programming and Algorithm Project from Holberton School by, Anoop and Minas

Notifications You must be signed in to change notification settings

amacharla/simple_shell

Repository files navigation

SimpleShell

Low-Level Programming and Algorithm Project assigned by Holberton School.

Prerequisites

Required files:

  1. main.c
  2. helperFunc.c
  3. printFunc.c
  4. specialFunc.c
  5. stringFunc.c
  6. stringFunc2.c
  7. memoryFunc.c
  8. customFunc.c
  9. history.c
  10. shellHeader.h

What things you need to install the program and how to install them:

GCC:

sudo apt-get install gcc

Compiling and Executing

A step by step series of required commands need to get our HSH running.

##Compiling Complile the code:

make

or

Manually compile:

gcc shellHeader.h memoryFunc.c stringFunc.c stringFunc2.c customFunc.c printFunc.c helperFunc.c specialFunc.c history.c main.c -o hsh

##Executing Run hsh in interactive mode:

./hsh

Expected Result:

$

or

Run hsh in non-interactive mode:

echo **cmd** | ./hsh

Authors

Additonal Help

Refer to Man Page

./man_1_simple_shell

Acknowledgments

About

Low-Level Programming and Algorithm Project from Holberton School by, Anoop and Minas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published