Releases: RamezHas/shell
Simple Shell V1.5
🌀 SimpleShell v1.5
An enhanced custom shell with variable support and I/O redirection.
🧭 About
SimpleShell v1.5 is an enhanced version of our minimal shell interpreter.
Now featuring:
✅ Variable management (set/get commands)
✅ I/O redirection (> and < operators)
✅ Variable expansion in echo commands
Maintains all previous functionality while adding powerful new features.
⚙️ Built-in Commands (Updated)
| 🔧 Command | 📝 Description |
|---|---|
help |
List all available commands |
pwd |
Show current working directory |
echo |
Print arguments (supports $var expansion) |
exit |
Exit the shell |
set |
Set variable (name=value syntax) |
get |
Get variable value |
🆕 New Features
🔄 Variable Expansion
Use $var_name in echo commands to display variable values:
$ set name=Alice
$ echo Hello $name!
Hello Alice!Simple Shell V1.0
🌀 SimpleShell v1.0
A lightweight custom shell written in C with a set of built-in commands.
🧭 About
SimpleShell v1.0 is a minimal shell interpreter written in C.
It supports a small set of built-in commands and parses input directly from the user.
Ideal for learning how shells process input and handle basic command execution.
⚙️ Built-in Commands
| 🔧 Command | 📝 Description |
|---|---|
help |
List all available commands |
pwd |
Show current working directory |
echo |
Print provided arguments |
exit |
Exit the shell |
Unknown commands are handled with a friendly message like:
Command not found: your_command
🛠️ Build
To compile the shell, use:
gcc shell.c -o shell▶️ Run
After building, start the shell with:
./shell💡 Example Usage
$ help
Available commands:
exit Exit the shell
pwd Print current directory
echo Print arguments
help Show this help message
$ echo Hello, SimpleShell!
Hello, SimpleShell!
$ pwd
/home/ramez/simpleshell
$ ls
Command not found: ls
$ exit