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.
- Host: GitHub
- URL: https://github.com/Ssnnee/simple-shell
- Owner: Ssnnee
- Created: 2023-05-12T22:25:52.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-27T16:07:46.000Z (about 3 years ago)
- Last Synced: 2025-07-30T22:24:32.213Z (11 months ago)
- Topics: c, shell
- Language: C
- Homepage:
- Size: 1.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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