A simple shell creation in C
The Simple Shell is a basic command-line interpreter written in C. It provides a simplified interface for users to interact with the operating system.
- Execute basic shell commands
- Provides a simple prompt
- Support command line arguments
- Handles I/O redirection
Follow these steps:
- Clone the repository:
git clone https://github.com/Yunis003/holbertonschool-simple_shell.git - Navigate to the project:
cd holbertonschool-simple_shell - Compile the code:
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o simpleShell - Run the shell:
./simpleShell
Once the shell is running, you can enter commands in there. Here are a few examples:
ls: List files and directories in the current directorypwd: Print the current working directoryexit or (CTRL + D): Exit the shell
For more: man page.
Yunis Gulamov Zahra Israfilova Umudova Fatima

