Skip to main content

Welcome to Minishell

Minishell is a lightweight Unix shell implementation written in C that provides essential shell functionality including command execution, pipes, redirections, and built-in commands.

Installation

Build and install Minishell on your system

Quickstart

Get started with basic shell commands

Built-in Commands

Learn about echo, cd, pwd, export, unset, env, and exit

Architecture

Understand how Minishell works internally

Key Features

Command Parsing

Advanced parsing with support for quotes and environment variables

Pipes & Redirections

Chain commands with pipes and manage I/O with redirections

Built-in Commands

Seven essential shell built-ins for everyday tasks

Environment Variables

Full support for variable expansion and management

What You Can Do

  • Execute external commands from your PATH
  • Use pipes (|) to chain multiple commands together
  • Redirect input and output with <, >, >>, and heredoc <<
  • Expand environment variables with $VAR syntax
  • Handle single and double quotes properly
  • Manage environment variables with export and unset
  • Navigate directories with cd and pwd

Get Started

Jump to Quickstart

Learn the basics and run your first commands in Minishell

Build docs developers (and LLMs) love