This is a shell project created by two students of Holberton School, how part of the challenges for become to enginner software developers.
This Shell allows run some basics commands of the shell linux, like to ls, pwd, cat, etc mostly contained path /bin.
Make a copy of this project up and compile C files using gcc compiler see installing section.
You need the follow software to run the shell:
- Linux Ubuntu 14.04.3 LTS
- gcc 4.8.4
Follow the next steps for installing this shell:
1 - Once you have downloaded the repository, run the following command to compile the files:
gcc -Wall -Werror -Wextra -pedantic *.c -o hsh
2- Execute shell with the command:
./hsh
You can try this shell by running the following commands.
Run the shell and type command ls and press enter:
> ./hsh
#cisfun$ls
#Makefile# _strcat.c exec.c freelist.c print_list.c
AUTHORS _strcmp.c getline.c Makefile _strdup.c
handle_sigint.c shell.c README.md _strncmp.c
_getenv.c commands.c free.c hsh test
#cisfun$
Run the shell and type command /bin/ls and press enter:
> ./hsh
#cisfun$/bin/ls
#Makefile# _strcat.c exec.c freelist.c print_list.c
AUTHORS _strcmp.c getline.c Makefile _strdup.c
handle_sigint.c shell.c README.md _strncmp.c
_getenv.c commands.c free.c hsh test
#cisfun$
Run the shell and type command pwd and press enter:
> ./hsh
#cisfun$pwd
/home/vagrant/projects/simple_shell
#cisfun$
Run the shell and type command cat namefile and press enter:
> ./hsh
#cisfun$cat AUTHORS
# This file lists all individuals having contributed content to the repository.
Rodrigo Sierra <735@holbertonschool.com>
Yony Brinez <769@holbertonschool.com>
#cisfun$
You can contribute to do more test int those repositories Holberton test shell and Holberton Colombia test shell.
This repository is open source.
- Rodrigo Sierra - Initial work - Git Hub Repository
- Yony Briñez - Initial work - Git Hub Repository
See also the list of contributors who participated in this project.
- Holberton School thanks for this challenge that allows to put into practice all the acquired knowledge.