GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Ruben2163/Terminal-Emulator-Python: This is a linux terminal in python that uses a virtual file system

BranchesTags
Open more actions menu

Latest commit

 

History

45 Commits
45 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
READMEIMGS
READMEIMGS
 
 
__pycache__
__pycache__
 
 
virtual_fs
virtual_fs
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Main.py
Main.py
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
file_system.py
file_system.py
 
 
history.txt
history.txt
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Python Terminal

Features

  • File System Management:
    • Create folders and files (mkdir, touch).
    • List directory contents (ls).
    • Read and delete files (read, rm).
    • Rename files or folders (mv).
    • Navigate directories (cd, cd .., pwd).
    • Delete folders (rmdir).
  • Aliases:
    • Define custom aliases for frequently used commands (alias).
    • Remove aliases (unalias).
    • Save and load aliases automatically.
  • Help Menu:
    • View all available commands using the help command.
  • Persistence:
    • Virtual file system and aliases persist across sessions.

Installation

Prerequisites

  • Python 3.6 or higher.

Steps

  1. Clone this repository:
    git clone https://github.com/Ruben2163/Python-Terminal.git
  2. Run Main.py:
    python3 main.py

Basic commands

Commands Usage
mkdir <folder_name> Create a folder.
touch <file_name> Create a file.
ls List contents of the current directory.
read <file_name> Display the content of a file.
rm <file_name> Delete a file.
rmdir <folder_name> Delete a folder.
mv <old_name> <new_name> Rename a file or folder.
cd <folder_name> Navigate to a directory.
cd .. Go to the parent directory.
pwd Print the current working directory.
help Display the help menu.
exit Exit the terminal.
alias Create a shortcut for a command.
unalias Remove an alias.

Project Structure

Python-Terminal/
│
├── main.py            # Main script for the terminal interface
├── file_system.py     # Handles file system and alias logic
├── virtual_fs/        # Virtual file system root directory
└── README.md          # Documentation (this file)

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, feel free to:

  1. Fork the repository.
  2. Create a new branch.
  3. Submit a pull request.

About

This is a linux terminal in python that uses a virtual file system

Topics

command-lineemulatorlinuxmit-licensepythonpython-terminalpython3pythonterminalsimulaterteminal-emulatorterminalunixvirtualvirtual-machine

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.