Skip to content

Repository files navigation

holbertonschool-simple_shell

Language Tested for

Contents

Requirements

Ubuntu 20.04 GCC C

Project Requirements

Allowed editors: vi, vim, emacs

All your files will be compiled on Ubuntu 20.04 LTS using gcc, using the options -Wall -Werror -Wextra -pedantic -std=gnu89

All your files should end with a new line

A README.md file, at the root of the folder of the project is mandatory

Your code should use the Betty style. It will be checked using betty-style.pl and betty-doc.pl

Your shell should not have any memory leaks

No more than 5 functions per file

All your header files should be include guarded

Use system calls only when you need to (why?)

Resources

Unix shell

Thompson shell

Ken Thompson

Everything you need to know to start coding your own shell concept page (Holberton Intranet)

Shell Flowchart

Compilation

gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh

Usage

  • Clone the repository and enter it
    git clone https://github.com/Thomas-lab17/holbertonschool-simple_shell && cd holbertonschool-simple_shell
  • Compile it with Compilation
  • run the executable
./hsh

Usage Example

$ ./hsh
$ ls
lorem ipsum lorem ipsum place/type files here
$ pwd
/home/user/holbertonschool-simple_shell
$ echo Hello World
Hello World
$ env
USER=user
HOME=/home/user
PATH=/usr/local/bin:/usr/bin:/bin
...
$ exit

Authors

View the AUTHORS file in the repository

Madi Madi Anli | 12993@holbertonstudents.com | https://github.com/madi-spec49
Thomas Charierleray | 12165@holbertonstudents.com | https://github.com/Thomas-lab17
Alexander Durant | 12232@holbertonstudents.com | https://github.com/artemis-bunbun

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages