Skip to content

Raghaddahi/chill-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Chill A Minimal Unix Shell in C

Chill is a lightweight Unix-like shell with a calm emoji prompt. It supports built-in commands, parallel execution, and output redirection.


Features

  • Interactive mode with emoji prompt
  • Batch mode (./chill file.txt)
  • Built-in commands: exit, cd, path
  • Output redirection: >
  • Parallel execution: &
  • Simple error handling: prints An error has occurred

Quick Start

Clone the Repository

git clone https://github.com/your-username/chill.git
cd chill

Compile
gcc chill.c -o chill

Run Interactive
./chill

Run Batch
./chill commands.txt

Example
🌊 chill> pwd
/home/user

🌊 chill> ls > files.txt

🌊 chill> cd ~

🌊 chill> ls & pwd

Notes

Default path: /bin

No piping, input redirection, or environment expansion

About

A small Unix shell built for learning how shells work.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages