- would be updated fater adding man
- This is a collaborative project made by Daniel Boateng and Oyindamola Ekundayo, Students of software engineering at ALX Africa. This repo contains files for the simple_shell project. The project requires us to develop our own UNIX command interpreter (shell).
These are the files with custom system calls and functions with a brief description.
file | Description |
---|---|
'.simple_shell_history' | |
'AUTHORS' | The list of contributors |
'README.md' | Readme.md file |
'strtok.c' | |
'built-in.c' | File containing builtins |
'char_fun.c' | |
'parsing.c' | File containing functions to help with string manipulation |
'helpers.c' | |
'execute.c' | |
'execute_file.c' | |
'finding_path.c' | |
'get_line.c' | |
'history.c' | |
'hsh' | |
'main.c' | Main File to execute |
'main.h' | Header file with prototypes |
'memmory_management.c' | |
'more_bul.c' | |
'more_char_fun.c' | |
'more_fun.c' | |
'output.c' | |
'parsing.c' | |
'printer.c' | |
'prompetfun.c' |
This simple_shell project is designed to run on the Ubuntu 20.04 LTS using gcc, and can be compiled using the options -wall - werror -wextra -pedantic -std=gnu89 The code should use the Betty style.
- Display a prompt and wait for the user to type a command.
- If an executable cannot be found, print an error message and display the prompt again.
- Handle errors
- Hand the EOF(Ctrl + D) condition.
- Handle the Ctrl +C to not terminate the shell.
- Handle th command line with arguments.
- Handle the PATH.
- Support the exit features.
- exit 'terminates the shell'
- env 'display the environment'
- Daniel Boateng - coder
- Oyindamola Ekundayo - collaborator