Skip to content

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

Notifications You must be signed in to change notification settings

devwithmike/minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks