An open API service indexing awesome lists of open source software.

https://github.com/Ssnnee/simple-shell

This is a simple UNIX command interpreter.
https://github.com/Ssnnee/simple-shell

c shell

Last synced: 9 months ago
JSON representation

This is a simple UNIX command interpreter.

Awesome Lists containing this project

README

          

# C - Simple Shell

## Synopsis
This is a simple implementation of a shell

## Usage
+ Compile your code with `gcc -Wall -Werror -Wextra -pedantic *.c -o hsh`
+ Include the "main.h" header file on the functions you can have
* Output: prompt to terminal: `$ `

## Files
* `README.md` Contains information about the project
* `hsh.h` : The header file, contains all prototypes for funcitons used.
* `hsh.c`: The main function of the shell program.
* `shell_loop.c` : Contains the shell_loop function(runs the main loop of the shell program)
* `parse_line.c`: Contains the parse_line function (parses a line of input into an array of arguments)
* `execute_command.c`: Contains the execute func
* `getline.c` : Our own getline functon
* `atoi.c` : Contains our own atoi func

### Code styling
Betty

### Authors
* Alfred Syatsukwa - https://github.com/IrAlfred
* Samuel Nandi - https://github.com/Ssnnee