Choose your dojo

Master every interface, one skill at a time

Repeat the Last Command Instantly

What This Does

Run your previous command again without retyping it, useful when you made a small mistake or want to run the same command with different options.

Why It's Useful

Fix small mistakes fast. If you forgot to add a flag or need to run the same command again, this saves you from retyping the entire command.

How to Do It

  1. Type !! and press Enter to run the last command
  2. You can also press the Up arrow to recall the last command, then edit it before running

Try This Now

Run ls, then type !! and press Enter. Notice how it runs ls again without you typing it.

Mental Hook: Fix small mistakes fast.