Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/developerjosh/py-shell

A Windows shell made in Python
https://github.com/developerjosh/py-shell

Last synced: about 6 hours ago
JSON representation

A Windows shell made in Python

Awesome Lists containing this project

README

        

Python Shell
This is a custom Python shell that provides various built-in commands for interacting with the file system and obtaining system information.

Features
File Management: Commands for listing directory contents, creating and removing files and directories, moving and copying files, and more.
System Information: Commands to display system information, such as uptime, memory usage, and currently running processes.
Text Processing: Commands for sorting, counting, and searching within files.
Getting Started
Prerequisites
Python 3.x
Installation
Clone the repository:

```
git clone https://github.com/yourusername/python-shell.git
cd python-shell
```
Usage
Run the shell:

```sh
python shell.py
```
Example Commands
```sh
# Print the current working directory
pwd

# List directory contents
ls

# Create a new directory
mkdir new_directory

# Display system information
sysinfo

# Print lines matching a pattern
grep "search_term" file.txt
```
Built-in Help
Type help in the shell to display information about available commands.

```sh
help
```
Contributing
Contributions are welcome! Please open an issue or submit a pull request.