You might know that `!!` repeats the previous command you executed in the Linux ...

@monospace@floss.social

You might know that `!!` repeats the previous command you executed in the Linux shell. But did you know that you can also slightly modify it before executing it again?

For example, to correct a typo in a long command, you can simply enter `!!:s/typo/correction/`.