This project implements a simple shell in C programming language. The shell provides basic functionalities such as executing commands, handling built-in commands like cd
, help
, and exit
, as well as basic error handling.
To compile the shell program, use the following command:
gcc -o shell shell.c
Once compiled, you can run the shell by executing the generated executable:
./shell
cd
: Change directory. Usage:cd [directory]
.help
: Display information about supported commands.exit
: Exit the shell.
- This shell project is intended for educational purposes and may not cover all edge cases or provide full shell functionality.
- Feel free to explore and modify the code to add more features or improve functionality.