Published at
Updated at
Reading time

I was reading through stuff in the art-of-commandline and found some terminal key combinations that help navigating. To have a nice overview I quickly put it together in a sheet. 🙈

ctrl + a: move to the beginning of the line, alt + f: move one word forward, ctrl + e: move to the end of the line, alt + b: move one word backward, ctrl + k: delete to the end of the line


Edited: it turns out that you can enable "Natural Text Editing" in iterm to allow jumping by word with alt + left/right. (thanks to Hernán Magrini for pointing that out)

Was this post helpful?
Yes? Cool! You might want to check out Web Weekly for more web development articles. The last edition went out 18 days ago.

Related Topics

Related Articles

About the author

Stefan standing in the park in front of a green background

Frontend nerd with over ten years of experience, "Today I Learned" blogger, conference speaker, Tiny helpers maintainer, and DevRel at Checkly.