Skip to content

plutopu/minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell

A school 42 study project to create a limited Unix shell that functions like Bash. Focus areas: parsing command line input, process forking, I/O redirection and basic signal handling.

Build

make

Available targets:

  • make — Build the executable
  • make clean — Remove object files
  • make fclean — Remove object files and binary
  • make re — Rebuild from scratch

Usage

./minishell

Once running, the shell accepts standard Unix commands and supports:

  • Executing commands from PATH (ls, cat, grep, etc.)
  • Pipes (|)
  • Redirections (<, >, >>, <<)
  • Environment variable expansion ($VAR)
  • Built-ins: echo, cd, pwd, export, unset, env, exit
  • Signal handling (Ctrl-C, Ctrl-D, Ctrl-\)
  • Quote handling (single and double quotes)

Authors

License

Educational project. Not licensed for reuse.
Published for reference only — do not submit as your own work.

Note: Commit history has been removed for privacy. The project was developed across 58 days over 11 weeks (Aug–Nov 2025).

About

A school 42 study project to create a limited Unix shell that functions like Bash

Resources

Stars

Watchers

Forks

Contributors