Why should you use Ruby for your next command-line tool?

One day, I needed to write a command-line tool. It was more complicated than copying a couple of shell commands to a file with .sh extension, but at the same time it was too simple to make a full Java or Scala application out of it.

Even though I work mostly with Scala and Typescript, I’ve chosen to do it in Ruby because it’s good for that very purpose – to quickly get your stuff done.

Here is why:

Obvious and not-so-obvious Bash/Zsh terminal shortcuts

For a very long time, I’ve been using just tab, ctrl-C, ctrl-D and ctrl-R shortcuts. However, there are more useful gems out there. In this post, I’m going to show you Bash/Zsh terminal shortcuts that I find useful.