One of my favorite Unix tricks is
^x^y, which will take the last command and replace the first instance of "x" with "y". However, I'm wondering if a similar trick works to replace all instances of "x" with "y" in the last command?
You can use the
I don't believe there's an easy way to add something to
This is often made into an alias called