This is a simple Unix command line interpreter created as part of the Simple Shell project at ALX School.
The Simple Shell is a basic command-line shell that can execute simple Unix commands. It is designed to meet the project's requirements and learning objectives. The project consists of multiple tasks, each building upon the previous one to enhance the shell's functionality.
- Task 0: Betty would be proud
- 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 help you set up and run the simple shell on your local machine.
- An Ubuntu 20.04 LTS system.
- GCC compiler.
- An understanding of Unix commands and C programming.
To compile the shell, use the following command:
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh