3 ms·
Show HN: Interactive exercises for Linux CLI text processing commands
Last month, I started learning a Python TUI framework called Textual. After working on a 4x4 board game, I made an interactive app to test your CLI text processing skills with 40 beginner to intermediate level exercises. The app is fairly basic in terms of features — only single input file, so no stdin data, multiple files, etc.
Most of the exercises in this app is based on my Computing from the Command Line ebook (https://learnbyexample.github.io/cli-computing/preface.html https://learnbyexample.github.io/cli-computing/preface.html). I hope to improve the TUI app to support all the 200+ exercises sometime next year.
- ravoori 4y agoExcellent way to brush up Linux CLI skills and pick up a new trick or two along the way!
- asicsp 4y agoThanks for the feedback :)
- asicsp 4y agoLast year, I did a similar project for 75 Python regular expressions exercises: https://github.com/learnbyexample/py_regular_expressions/tree/master/interactive_exercises https://github.com/learnbyexample/py_regular_expressions/tre... That was with Tkinter. I'm planning to update the regex book next year (to add new features like possessive quantifiers and other misc changes). Along with this update, I'll probably make a TUI version and add support for rest of the exercises.
- LionTamer 4y agoThis looks great, I’m excited to check it out!
- asicsp 4y agoHope you find it useful and learn something new :)
- exceptione 4y agoThanks, I could pick up some useful tricks there!
- asicsp 4y agoYou're welcome and thanks for the feedback!