A simple wordle-like game where you guess a command fetched from your shell history itself. This can be a cool way to get used to your terminal. Also, it is all just a single shell script!
simplescreenrecorder-2024-05-14_22.29.14.36088.0.mp4
- a terminal emulator (tty would work as well!)
- a compatible shell (bash/zsh)
-
Copy
shelltest
file to your desired location. Add this location to your PATH if necessary. -
Turn the script executable by running the following command:
sudo chmod a+x shelltest
-
Run the script.
shelltest