Quick substitution in bash commands
You can use carets in bash to quickly do string replacements in your previous commands:
$ echo "wibble wubble"
wibble wubble
$ ^bb^gg
echo "wiggle wuggle"
wiggle wuggle
Here's the documentation
h/t Dillon
Tweet