O-Shell is a custom shell written in C++ and Python, providing Linux-like commands for both Windows & Linux with improved performance and flexibility.
-
Clone this repository:
git clone https://github.com/Mayank-tech69/Oshell.git
-
Navigate to the project directory:
cd Oshell
-
Compile the source code:
g++ -o oshell oshell.cpp -std=c++17
-
Run the shell:
./oshell
-
Clone this repository:
git clone https://github.com/Mayank-tech69/Oshell.git
-
Navigate to the project directory:
cd Oshell
-
Compile the source code using MinGW (or any C++ compiler that supports C++17):
g++ -o oshell.exe oshell.cpp -std=c++17
-
Run the shell:
oshell.exe
Ensure you have Python 3 installed.
-
Clone the repository:
git clone https://github.com/Mayank-tech69/Oshell.git
-
Navigate to the project directory:
cd Oshell
-
Run the Python shell:
python oshell.py
Just download the latest released version from the repository and use it.
-
Run O-Shell using either the C++ or Python version and start entering commands.
-
Example:
ls
- Cross-Platform Support - Works on Windows & Linux
- Custom
ls
command for listing files - File Operations - Create, delete, copy, write, append, and rename files
- Directory Operations - Create, remove, and navigate directories
- Built-in Commands -
clear
,exit
,speak
,help
, and more - Command History Support
- Cross-Platform Compatibility
- Similar Commands as C++ Shell
- Extensible & Easy to Modify
- Uses Python's
os
andshutil
modules for efficient file handling
This project is licensed under the MIT License. See the LICENSE file for more details.