arizvisa
TIL: the ^ character in bash, used like "^first^second" is equiv to "!! =~ s/first/second/" (in like perl) bash scripting tips
arizvisa
so if you're at your prompt, it'd look like:
$ echo pretty weird
pretty weird

$ ^pretty^very
echo very weird
very weird
載入新的回覆