← All projects

cshell

by @Adel-Ayoub

Active 29

Unix shell implementation in C

About this project

CShell A Unix shell implementation in C. Installation Architecture Shell Architecture Overview Command Execution Flow Shell State Machine Data Structures Pipe Handling Sequence Requirements C compiler (GCC/Clang) Make Features Completed Features Core Shell Functionality Command Execution: Built-in and external command support Environment Variables: Full environment variable management Signal Handling: Proper signal handling for interactive shell History: Command history with readline integration Exit Status: Proper exit status handling and calculation Advanced Wildcard System Star Patterns: for glob matching (e.g., .c, src/.h) Question Mark: ? for single character matching (e.g., c?????.h → cshell.h) Bracket Patterns: [set] for character sets (e.g., [abc], [1-5], [^xyz]) Range Expansion: Automatic expansion of [a-c] to [abc] Mixed Patterns: Complex combinations like [abc]?.txt Negated Sets: [^abc] to exclude characters Directory Support: Patterns like src/inputhandling/.c work perfectly Pipe Integration: Wildcards work seamlessly in pipe commands Logical Operators & Job Control AND Operator: && for command chaining with short-circuit evaluation

From the project README on GitHub

Stars
29
Forks
0
License
Apache-2.0
Last push
13 Feb 2026

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/cshell.svg)](https://www.madeinalgeria.dev/projects/cshell)

Related projects