/simple_shell

Simple Shell cpmmand interpreter

Primary LanguageC

0x16.C Simple Shell 📒

This project was built by Edith and Blessing.

Table of Contents

  1. Authors
  2. How To Use
  3. .explanation

Authors

header

👤 Blessing

👤 Edith

How To Use

How to compile

Requirements

  • All your files will be compiled on Ubuntu 20.04.2 LTS
  • Your C programs and functions will be compiled with gcc 9.3.0
  • 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
($)