Move Quickly on a Long Command Line

(#clidrops 💧 from Twitter)

image

@rossijonas posted on twitter:

#clidrops 💧

Move quickly on a long command line using:

Ctrl r

<type to find>

Tab

#shell #cli #bash #zsh


  • Original post on twitter
  • Zsh: history-incremental-search-backward (man zshzle)
  • Bash: reverse-search-history (man bash)
  • (affiliate link) “Mastering Vim Quickly” book (and screencasts) by Jovica Ilic. If you’re thinking of learning Vim or improving your Vim skills, this is a must. Make sure you subscribe to the MVQ newsletter to get free Vim tips and book excerpts on your email.

Footnotes:

  • If you have any doubts or tips about this article, I’d appreciate to know and to discuss it on the comments section, or via email.
  • Do you have any other cli tips? Would you like to publish that on this blog? Please send an email to clidrops.
  • As English is not my native language, I apologize for errors. Corrections are welcome.
  • Contact: cli [@] alldrops [.] info.

Read more on all drops: