This is a project to create a simple shell, by the students of Holberton School.
These instructions allow you to obtain a copy of the project from "simple-shell" to work on your local machine for development and testing purposes.
the shell execute the diferents commands in the PATH
To install to use this repository you must first have an environment to use it.
EXAMPLE: linux terminal
Here I will explain the steps to clone the repository to be able to use and modify the simple shell
clone the repository
$ git clone [repositorio]
To use the repository you must first enter it with the command
$ cd
int _strncmp(char *s1, char *s2, size_t n);
char *_strcat(char *dest, char *src);
int _strlen(char *s);
char *_strdup(char *str);
void execute(char *av[], char **env);
char *_path(char av[], char *env[]);
int _strcmp(char *s1, char *s2);
how to run automated tests for this system
$gcc -wall -werror -wextra -pedantic *c -o hsh
$./hsh
_$ gcc -Wall -Werror -Wextra -pedantic *.c -o ./hsh
$ echo "/bin/ls" | ./hsh_
or interactive mode
$ echo "ls" | ./hsh
holberton.h
This is the the file that contains all the librarys of the proyect. This the the file that contains the authors of the proyect.
prompt.c
This is the file that contains the shell main
man_1_simple_shell
This file has the description of the the shell and how it works.
README.md
This file has the description of the funcions for the git.
Functions.c
_This file has the functions that we implement, _strcmp, execute, _path,
_strdup, strlen
Functions2.c
_this file has the description of the funcions _str‐, cat, strncmp.
were used to create the project
HOLBERTON SCHOOL -the framework ribution 🖇️
HOLBERTON SCHOOLproyect Wiki y Style Wiki
creaters simple-shell project
- Danny Martinez - Initial Work - - Twitter-@dalmariv01 -github- danny009
- Aura Marina Pasmin - Initial Work and Documentation - -Twitter- @MariPasmin - github - auraPasmin
- Danny I'll invite you a beer🍺
- We want to thank Holberton School for giving us the great opportunity to work on this, to impart knowledge.🐙.
- thanks to this oportunite
⌨️ with ❤️ to [Aura Pasmin]😊
