Skip to content

O-Shell is a custom command-line shell built with Python, bringing Linux-like commands to both Windows and Linux. Supports essential file, directory, and system operations with an intuitive interface.

License

Notifications You must be signed in to change notification settings

Mayank-tech69/Oshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


🖥️ O-Shell - Custom Command Line Shell

GitHub Repo

O-Shell is a custom shell written in C++ and Python, providing Linux-like commands for both Windows & Linux with improved performance and flexibility.


📌 Table of Contents


🚀 Installation

🔹 C++ Version

For Linux:

  1. Clone this repository:

    git clone https://github.com/Mayank-tech69/Oshell.git
  2. Navigate to the project directory:

    cd Oshell
  3. Compile the source code:

    g++ -o oshell oshell.cpp -std=c++17
  4. Run the shell:

    ./oshell

For Windows:

  1. Clone this repository:

    git clone https://github.com/Mayank-tech69/Oshell.git
  2. Navigate to the project directory:

    cd Oshell
  3. Compile the source code using MinGW (or any C++ compiler that supports C++17):

    g++ -o oshell.exe oshell.cpp -std=c++17
  4. Run the shell:

    oshell.exe

🔹 Python Version

Prerequisites:

Ensure you have Python 3 installed.

Installation:

  1. Clone the repository:

    git clone https://github.com/Mayank-tech69/Oshell.git
  2. Navigate to the project directory:

    cd Oshell
  3. Run the Python shell:

    python oshell.py

Alternative Method(RECOMMENDED)

Just download the latest released version from the repository and use it.

⚙️ Usage

  • Run O-Shell using either the C++ or Python version and start entering commands.

  • Example:

    ls

📌 Features

C++ Shell Features:

  • 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

Python Shell Features:

  • Cross-Platform Compatibility
  • Similar Commands as C++ Shell
  • Extensible & Easy to Modify
  • Uses Python's os and shutil modules for efficient file handling

📜 License

This project is licensed under the MIT License. See the LICENSE file for more details.



About

O-Shell is a custom command-line shell built with Python, bringing Linux-like commands to both Windows and Linux. Supports essential file, directory, and system operations with an intuitive interface.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published