fuck

Corrects your previous console command.

Install

All systems
curl cmd.cat/fuck.sh
Debian Debian
apt-get install thefuck
Ubuntu
apt-get install thefuck
Arch Arch Linux
pacman -S thefuck
image/svg+xml Kali Linux
apt-get install thefuck
Fedora
dnf install thefuck
OS X
brew install thefuck
Raspbian
apt-get install thefuck

Corrects your previous console command.

  • Set the `fuck` alias to `thefuck` tool:
    eval "$(thefuck --alias)"
  • Try to match a rule for the previous command:
    fuck

© tl;dr; authors and contributors