Skip to content

Implementation in C language of a simple shell interpreter for Unix based systems. Supports any function call existing in PATH without memory leaks.

Notifications You must be signed in to change notification settings

AndrewB4y/simple_shell

Repository files navigation

SIMPLE SHELL

This repository contains the final project of the first trimester at Holberton school, is about building a program as similar as possible to the unix shell using the programming language C.

Table of Contents

  1. Authors
  2. How Use
  3. explanation

Authors

👤 Andres Bayona

👤 Luis Enrique Sanjuan Melo

How Use

How to compile

Requirements

  • All your files will be compiled on Ubuntu 14.04 LTS
  • Your C programs and functions will be compiled with gcc 4.8.4
  • Your code should use the Betty style. It will be checked using betty-style.pl and betty-doc.pl
  • No more than 5 functions per file

Flags to compile

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

Explanation

Non interactive

pass the commands in the stdin but no prints the prompt.

$ echo "ls" | ./hsh

interactive

the program is execute and the prompt is print, and wait for the user.

$ ./hsh ($)

Licensing

Simple Shell is licensed under the MIT License.

About

Implementation in C language of a simple shell interpreter for Unix based systems. Supports any function call existing in PATH without memory leaks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages