A minimal shell implementation written in C, created as part of the WeThinkCode programming curriculum.
Minishell is a simplified shell that demonstrates core concepts in Unix/Linux shell functionality. This project was designed to develop a deep understanding of process management, command parsing, and system-level programming in C.
- Command execution with support for built-in commands
- Environment variable management
- Directory navigation with
cd - Path resolution for executables
- Signal handling (Ctrl+C support)
Clone the repository and navigate to the project directory:
git clone https://github.com/mikefmeyer/minishell
cd minishell/binBuild the project using make:
makeStart the shell:
./minishellInteract with the shell using standard Unix commands. Exit at any time with:
exitInterrupt the current process with:
Ctrl + C
src/- Source code filesincludes/- Header fileslibft/- Custom C utility librarybin/- Build directory and binary output
- GCC compiler
- Unix/Linux environment
- Make
Created as part of the WeThinkCode C programming curriculum.