All the Command-Line Keyboard Shortcuts You Need to Know

Level up your CLI skills with these keyboard shortcuts

Photo by Juan Gomez on Unsplash

Whether you are an experienced command-liner looking to learn new shortcuts, or you avoid using the terminal because you hate using the arrows to navigate through long commands one character at a time just to change a parameter at the end or the beginning of the line, this article is for you.

I have compiled a list of, what I consider, the most useful keyboard shortcuts you can use in your terminal of choice.

As for the shell, I use Zsh but most of, if not all, the shortcuts also apply to Bash. And at the end, I also show how you can create your own custom shortcuts!