title: Fastest way(s) to move the cursor on a terminal command line?
body: <p>What is the best way to move around on a given very long command line in the terminal?</p>
  
  <p>Say I used the arrow key or <kbd>Ctrl</kbd>-<kbd>R</kbd> to get this long command line:</p>
  
  <pre><code>./cmd --option1 --option2 --option3 --option4 --option5 --option6 --option7 --option8 --option9 --option10 --option11 --option12 --option13 --option14 --option15 --option16 --option17 --option18 --option19 --option20 --option21 --option22 --option23 --option24 --option25 --option26 --option27 --option28 --option29 --option30 --option31 --option32 --option33 --option34 --option35 --option36 --option37 --option38 --option39 --option40 --option41 --option42 --option43 --option44 --option45 --option46 --option47 --option48 --option49 --option50 
  </code></pre>
  
  <p>Now I need to move (starting from the beginning or the end of the line) the cursor to <code>--option25</code> to modify something there. </p>
  
  <p>What is the fastest way to get there? What I usually do is <kbd>Ctrl</kbd>-<kbd>A</kbd> to get to the beginning and then repeatedly <kbd>Alt</kbd>-<kbd>F</kbd> to move forward, word by word (or <kbd>Ctrl</kbd>-<kbd>E</kbd> to go the end and <kbd>Alt</kbd>-<kbd>B</kbd> to then go backward). But on a long line that takes too much time. There must be a way to search and jump directly to the part I need to modify, e.g. <code>option25</code>?</p>