Skip to content

danny099/simple_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple shell 💻

This is a project to create a simple shell, by the students of Holberton School.

Synopsis 🚀

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.

What the shell does

the shell execute the diferents commands in the PATH

Pre-requisites 📋

To install to use this repository you must first have an environment to use it.

EXAMPLE: linux terminal

Installation 🔧

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

Funtions 🔩

       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);

They run the tests⚙️

how to run automated tests for this system

$gcc -wall -werror -wextra -pedantic *c -o hsh

$./hsh

coding style tests ⌨️

_$ gcc -Wall -Werror -Wextra -pedantic *.c -o ./hsh
$ echo "/bin/ls" | ./hsh_
or interactive mode
$ echo "ls" | ./hsh

Files

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.

Deployment 📦

were used to create the project

HOLBERTON SCHOOL -the framework ribution 🖇️

HOLBERTON SCHOOLproyect Wiki y Style Wiki

Authors ✒️

creaters simple-shell project

Expressions of Gratitude 🎁

  • 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]😊

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages