title: How to swap parameters in Shell command
body: <p>I have a command with parameters in shell. like</p>
  
  <pre><code>Command -a -b
  </code></pre>
  
  <p>assume <code>a</code> <code>b</code> are very long directory name, and they are not always the first and last parameters.</p>
  
  <p>However, I need to use this command again. I use <code>ctrl+p</code> to go back the command, but this time I need to reverse <code>a</code> <code>b</code> order.</p>
  
  <pre><code>Command -b -a
  </code></pre>
  
  <p>Instead of retyping them again, is there any way to fast swap them?</p>
  
  <p>Thanks in advance.</p>