Skip to content

Building a user command interpreter for a Linux system in a small-scale done in C language

Notifications You must be signed in to change notification settings

stuartses/simple_shell

Repository files navigation

Simple Shell

This repository contains the simple UNIX command interpreter project developed in C for Holberton School by cohort10 students.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You need to have and install:

Ubuntu 14.04 LTS
gcc 4.8.4

Installing

After you have cloned this repository, you must compile the project with:

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

Running

To run the program in interactive mode:

$ ./hsh
$ /bin/ls
$ hsh main.c shell.c

To run the program in non-interactive mode:

$ echo "/bin/ls" | ./hsh
$ hsh main.c shell.c test_ls_2

Flowchart

Simple shell Flowchart

Built With

Authors

  • Diego Garzon - Holberton Student - GitHub
  • Stuart Echeverry - Holberton Student - GitHub

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License.

About

Building a user command interpreter for a Linux system in a small-scale done in C language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages