Today I Learned

A Hashrocket project

Ready to join Hashrocket? Find Openings here and apply today.

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