pro tip - lemm.ee

Lemmy

Or do the opposite for…relief

Fucking mv doc doc1

Fucking shutdown

Fuck will always be my alias to run sudo with the last command
There’s a project that automatically corrects common errors with your last command as well with the same name.
GitHub - nvbn/thefuck: Magnificent app which corrects your previous console command.

Magnificent app which corrects your previous console command. - nvbn/thefuck

GitHub
It sounds fun and “magic” but it is hella scary to blindly run some “fixed” command
I believe it does take confirmation via the ENTER key.
It does! It’s usually pretty good at figuring it ont to. Though I only use it with non-destructive commands