This project is a custom shell for Linux/Unix systems, built from scratch in C. It provides basic command execution, process management, and supports built-in commands.
- Execute system commands
- Handle foreground and background processes
- Support for built-in commands (e.g.,
cd
,exit
,pwd
) - Input parsing and redirection
- Signal handling (e.g.,
Ctrl+C
,Ctrl+Z
)
- Clone the repository:
git clone https://github.com/yourusername/custom-shell.git cd custom-shell
- Compile the source code:
make
- Run system commands:
ls -l gcc main.c -o program
- Change directory:
cd /path/to/directory
- Exit the shell:
exit
- Run a process in the background:
./program &