/simple_shell

Write a simple UNIX command interpreter.

Primary LanguageC

0x16. C - Simple Shell This is a straightforward shell implementation written in C. It offers a simple command-line interface via which users may perform commands and pipelines.

Features Execute individual commands by providing the command name and any optional parameters. Pipeline support: Separate several instructions in a pipeline with the pipe character |. Error handling basics: Display error messages when incorrect instructions or pipeline structures are encountered. Variable environmental support: In commands, you may access and use environment variables. Exit command: Use the exit command to quit the shell.

Usage Clone the repository with the command git clone repository-url>. Compile the source code with the following command: gcc *.c -o shell ./shell will launch the shell.