A quick terminal cursor cheat sheet (#blogPost)

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. ?

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

Enjoy!

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)



Reply to Stefan


Print Share Comment Cite Upload Translate
APA
Stefan Judis | Sciencx (2024-03-28T12:24:24+00:00) » A quick terminal cursor cheat sheet (#blogPost). Retrieved from https://www.scien.cx/2019/06/05/a-quick-terminal-cursor-cheat-sheet-blogpost/.
MLA
" » A quick terminal cursor cheat sheet (#blogPost)." Stefan Judis | Sciencx - Wednesday June 5, 2019, https://www.scien.cx/2019/06/05/a-quick-terminal-cursor-cheat-sheet-blogpost/
HARVARD
Stefan Judis | Sciencx Wednesday June 5, 2019 » A quick terminal cursor cheat sheet (#blogPost)., viewed 2024-03-28T12:24:24+00:00,<https://www.scien.cx/2019/06/05/a-quick-terminal-cursor-cheat-sheet-blogpost/>
VANCOUVER
Stefan Judis | Sciencx - » A quick terminal cursor cheat sheet (#blogPost). [Internet]. [Accessed 2024-03-28T12:24:24+00:00]. Available from: https://www.scien.cx/2019/06/05/a-quick-terminal-cursor-cheat-sheet-blogpost/
CHICAGO
" » A quick terminal cursor cheat sheet (#blogPost)." Stefan Judis | Sciencx - Accessed 2024-03-28T12:24:24+00:00. https://www.scien.cx/2019/06/05/a-quick-terminal-cursor-cheat-sheet-blogpost/
IEEE
" » A quick terminal cursor cheat sheet (#blogPost)." Stefan Judis | Sciencx [Online]. Available: https://www.scien.cx/2019/06/05/a-quick-terminal-cursor-cheat-sheet-blogpost/. [Accessed: 2024-03-28T12:24:24+00:00]
rf:citation
» A quick terminal cursor cheat sheet (#blogPost) | Stefan Judis | Sciencx | https://www.scien.cx/2019/06/05/a-quick-terminal-cursor-cheat-sheet-blogpost/ | 2024-03-28T12:24:24+00:00
https://github.com/addpipe/simple-recorderjs-demo