A simple terminal-based operating system simulator written in Python.
MinOS is a lightweight educational project that simulates a basic operating system shell. It includes a virtual file system, command interpreter, text editor, directory navigation, and file management tools.
The project is designed for learning Python fundamentals, command-line interfaces, and filesystem concepts.
- Virtual file system stored in memory
- Directory navigation (
cd) - View directory contents (
ls) - Read files (
cat) - Create directories (
mkdir) - Delete files and folders (
rm) - Built-in text editor (
notepad) - Colored output messages using Colorama
- Terminal clear command (
clear) - Interactive shell prompt
| Command | Description |
|---|---|
help |
Show help menu |
ls |
List directory contents |
cd <path> |
Change directory |
cat <file> |
Read file contents |
notepad <file> |
Open text editor and save text |
mkdir <folder> |
Create a folder |
rm <file> |
Delete a file or folder |
clear |
Clear terminal screen |
exit |
Exit MinOS |
- Clone the repository:
git clone https://github.com/vipol0/MinOS.git
cd MinOS- Install dependencies:
pip install colorama- Run MinOS:
python main.py=== MinOS ===
/> ls
home
system
/> cd home
/home> ls
notes.txt
/home> cat notes.txt
Hello word!
/home> mkdir projects
[OK] Folder created
- Python 3
- Colorama
- File permissions
- Copy and move commands
- Save filesystem to disk
- Improving the notepad
This project is open source and available under the MIT License.