https://github.com/0xravenspar/rusty-shell
Rusty-Shell is a lightweight, functional shell implemented in Rust, designed to explore system programming concepts and provide a minimal, extendable user experience.
https://github.com/0xravenspar/rusty-shell
cli rust shell system-programming terminal
Last synced: 3 months ago
JSON representation
Rusty-Shell is a lightweight, functional shell implemented in Rust, designed to explore system programming concepts and provide a minimal, extendable user experience.
- Host: GitHub
- URL: https://github.com/0xravenspar/rusty-shell
- Owner: 0xRavenspar
- License: mit
- Created: 2024-12-21T17:02:26.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-21T17:45:28.000Z (5 months ago)
- Last Synced: 2024-12-21T18:19:13.544Z (5 months ago)
- Topics: cli, rust, shell, system-programming, terminal
- Language: Rust
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# 🦀 Rust Shell
A simple and lightweight shell implemented in Rust. This project aims to explore system programming concepts and provide a functional, extendable shell built entirely in Rust. 🌟
---
## ✨ Features
- ⚡ **Basic shell functionality**: Execute commands, handle input/output redirection
- 🔗 **Command pipelining**: Connect multiple commands seamlessly
- 📂 **Built-in commands**: Includes `cd`, `exit`, and more
- 🖥️ **Minimal interface**: A clean and responsive user experience
- 🛠️ **Extendable design**: Ready for custom features and future enhancements---
## 🚀 Getting Started
### Prerequisites
- **Rust** 🦀: Install Rust by following the instructions at [https://rustup.rs](https://rustup.rs).
### Build Instructions
1. **Clone the repository**:
```bash
git clone https://github.com/0xRavenspar/Rusty-Shell.git
cd Rusty-Shell
```2. **Build the project**:
```bash
cargo build --release
```3. **Run the shell**:
```bash
./target/release/rust-shell
```---
## 🛠️ Usage
Once you have started the Rust Shell, you can execute commands just as you would in a typical shell. For example:
```bash
> ls -la
> echo "Hello, Rust!"
> cd ..
> exit
```### Supported Features
- ✅ Execute system commands
- ✅ Use built-in commands like `cd` and `exit`
- ✅ Redirect input/output using `>` and `<`
- ✅ Combine commands with pipelines (`|`)---
## 📜 License
This project is licensed under the MIT License. See the `LICENSE` file for more details.
---
## 🙏 Acknowledgements
- 🦀 Rust programming language and its incredible community
- 💡 The many contributors to open-source shell implementations for inspiration
- ❤️ Everyone who supports open-source projects!