This serves as a straightforward Unix command line interpreter crafted as a component of the Simple Shell initiative at ALX School.
The Simple Shell functions as a fundamental command-line shell capable of executing basic Unix commands. It is meticulously designed to fulfill the project's specifications and educational objectives. The project encompasses various tasks, each progressively building upon the previous one to augment the shell's capabilities.
#Table of Contents
- Task 0: Eliciting pride from Betty
- Task 1: Simple shell 0.1
- Task 2: Simple shell 0.2
- Task 3: Simple shell 0.3
- Task 4: Simple shell 0.4
- Task 5: Simple shell 1.0
- Task 6: Simple shell 0.1.1 (Advanced)
- Task 7: Simple shell 0.2.1 (Advanced)
- Task 8: Simple shell 0.4.1 (Advanced)
- Task 9: setenv, unsetenv (Advanced)
- Task 10: cd (Advanced)
- Task 11: ; (Advanced)
- Task 12: && and || (Advanced)
- Task 13: alias (Advanced)
- Task 14: Variables (Advanced)
- Task 15: Comments (Advanced)
- Task 16: File as input (Advanced)
These instructions will guide you in setting up and running the simple shell on your local machine.
- A system with Ubuntu 20.04 LTS.
- GCC compiler.
- Proficiency in Unix commands and C programming.
To compile the shell, execute the following command:
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh