Something like https://try.ruby-lang.org/, but for the terminal.
Most of the top hits on Google either seem to also dive into unnecessary history, scripting/Git, or are not interactive.
Ideas?
https://linuxjourney.com/ has lessons with exercises/quiz (user has to follow along on their own machine).
See my list of resources https://learnbyexample.github.io/curated_resources/linux_cli... for tutorials/books/videos/etc.
You're asking about "the terminal" which has an unavoidable amount of history baked into it.
"bash tutorial" "bash basics" for most unix-ish operating systems
for recent macs, "zsh tutorial" or "macos zsh tutorial" or "macos zsh basics"
bash is the usual shell, zsh is now the default on MacOS. zsh fixes some rough edges in bash.
would you like to make a text UI using ncurses?
are you looking to use CLI programs more easily? Or just the particular CLI programs necessary to you workflow, like compiler and linker commands?