Skip to content

Latest commit

 

History

History
69 lines (44 loc) · 1.25 KB

File metadata and controls

69 lines (44 loc) · 1.25 KB

Minishell

A minimal shell implementation written in C, created as part of the WeThinkCode programming curriculum.

About

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.

Features

  • Command execution with support for built-in commands
  • Environment variable management
  • Directory navigation with cd
  • Path resolution for executables
  • Signal handling (Ctrl+C support)

Installation

Clone the repository and navigate to the project directory:

git clone https://github.com/mikefmeyer/minishell
cd minishell/bin

Build the project using make:

make

Usage

Start the shell:

./minishell

Interact with the shell using standard Unix commands. Exit at any time with:

exit

Interrupt the current process with:

Ctrl + C

Project Structure

  • src/ - Source code files
  • includes/ - Header files
  • libft/ - Custom C utility library
  • bin/ - Build directory and binary output

Requirements

  • GCC compiler
  • Unix/Linux environment
  • Make

Author

Created as part of the WeThinkCode C programming curriculum.