Pages
Projects
Actions
Theme
Links
SelectEsc to close
Back to Projects
Systems
Period
01.2025—03.2025

Unix Shell in C — Minishell

Custom POSIX-inspired Unix shell written in C, replicating bash lexical parsing, pipelines, redirections, and signals.

seraph919/minishell
Systems

Minishell

Lexer & Parser
Tokenizer and syntax validator supporting single/double quotes and environment expansion
Process Execution
Fork/execve pipeline orchestration with pipe wiring and I/O redirection
Shell Runtime
Built-in commands, exit-status tracking, and POSIX signal management
C • POSIX • Unix01.2025 — 03.2025

Architecture

Lexer & Parser

Tokenizer and syntax validator supporting single/double quotes and environment expansion

Process Execution

Fork/execve pipeline orchestration with pipe wiring and I/O redirection

Shell Runtime

Built-in commands, exit-status tracking, and POSIX signal management

Overview

Built a custom Unix shell in C, replicating bash behavioral parsing, redirections, pipes, signal handling, and environment variables.

Key Highlights

  • Faithful bash-like tokenization, quote expansion, and environment variable resolution
  • Multi-stage command pipelines, heredocs, and file descriptor redirections
  • Interactive signal handling (SIGINT, SIGQUIT) and built-in shell commands

Technologies

  • C
  • POSIX
  • Unix

Tags

  • Shell
  • Process Management
  • Team Project