A basic shell interface that can execute Unix commands
Project description
tsh (Basic Shell Implementation)
tsh is a basic shell implementation written in Python that allows users to execute Unix commands. It also features command history functionality, enabling users to navigate through previously executed commands using the up/down arrow keys.
Features
- Execute Unix commands directly within the shell.
- Command history: Navigate through previously executed commands using up/down arrow keys.
- Command history is persistent: All executed commands are saved in
~/.tsh_history
. - [Future] Tab completion functionality.
Installation
-
Clone the repository:
git clone https://github.com/zenilist/tsh.git
-
Install dependencies using pip:
cd tsh/
-
Install dependencies using pip:
pip install -r requirements.txt
-
Run the shell:
./tsh.py
Usage
Simply run ./tsh.py
to start the shell. You can then type Unix commands directly into the shell prompt and press Enter to execute them.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
ysh-0.0.1-py3-none-any.whl
(9.2 kB
view hashes)