I’m looking for something like LeetCode, but focused on Bash or shell commands. I’d like regular practice to build muscle memory, rather than just beginner lessons or server troubleshooting scenarios. Any suggestions?
Is there a good place to practice Bash commands daily?
Answers
Try the Bash track on Exercism. You can work on exercises on your own machine and submit them from there, so you get practice in your usual shell environment.
Many of the exercises are also available in other languages, which makes it useful if you want to compare approaches. It’s worth checking whether the available exercises match the kind of command practice you want.
Reply to this answer
Killercoda has a lot of free scenarios worth browsing. They’re scenario-based rather than necessarily a daily set of short Bash problems, but they could give you more hands-on terminal practice.
Reply to this answer
FreeCodeCamp is another option, though its shell material is mostly aimed at the basics. It may be useful for filling gaps, but it might not have the volume or difficulty you’re after for daily practice.
Reply to this answer
SadServers is worth a look if you’re open to troubleshooting scenarios, but that’s a different kind of practice from focused Bash exercises. More complex, programming-oriented scenarios were suggested, though there’s no guarantee they’ll be added.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions