LinuxCommandLibrary

fuck

command correction suggester

TLDR

Fix previous command

$ fuck
copy
Confirm before running
$ fuck --yeah
copy
Use specific correction
$ fuck --yes [number]
copy
Show available fixes
$ fuck --help
copy

SYNOPSIS

fuck [options]

DESCRIPTION

fuck is the command from The Fuck application that corrects previous console commands. It analyzes the previous failed command and suggests corrections.
When you mistype a command or forget sudo, running fuck proposes the corrected command. It learns from your shell history and supports many common mistake patterns.
fuck integrates with shells through aliases or key bindings for quick access.

PARAMETERS

--yeah, --yes

Confirm fix immediately.
--help
Display help information.

CONFIGURATION

~/.config/thefuck/settings.py

Configuration for rules, excluded commands, priority, and aliases.

CAVEATS

Alias setup required. May not catch all errors. Some corrections may not be appropriate. Use with caution.

HISTORY

fuck is part of The Fuck project created by Vladimir Iakovlev. The application provides an amusing yet practical way to correct command-line mistakes through Python-based rule matching.

SEE ALSO

thefuck(1), bash(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community