TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Interactive exercises for Linux CLI text processing commands

69 pointsby asicspover 2 years ago
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.<p>Most of the exercises in this app is based on my Computing from the Command Line ebook (<a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;cli-computing&#x2F;preface.html" rel="nofollow">https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;cli-computing&#x2F;preface.html</a>). I hope to improve the TUI app to support all the 200+ exercises sometime next year.

4 comments

asicspover 2 years ago
Last year, I did a similar project for 75 Python regular expressions exercises: <a href="https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;py_regular_expressions&#x2F;tree&#x2F;master&#x2F;interactive_exercises" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;py_regular_expressions&#x2F;tre...</a><p>That was with Tkinter. I&#x27;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&#x27;ll probably make a TUI version and add support for rest of the exercises.
ravooriover 2 years ago
Excellent way to brush up Linux CLI skills and pick up a new trick or two along the way!
评论 #33940823 未加载
LionTamerover 2 years ago
This looks great, I’m excited to check it out!
评论 #33940829 未加载
exceptioneover 2 years ago
Thanks, I could pick up some useful tricks there!
评论 #33940834 未加载