LinuxCommandLibrary

fzf

general-purpose command-line fuzzy finder

TLDR

Interactive file finder

$ find . -type f | fzf
copy
Select with preview
$ fzf --preview '[cat {}]'
copy
Multiple selection
$ fzf -m
copy
Filter command history
$ history | fzf
copy
Fuzzy find and edit
$ vim $(fzf)
copy

SYNOPSIS

fzf [options]

DESCRIPTION

fzf is a general-purpose fuzzy finder that filters any list interactively. It accepts input via stdin and outputs selected items, enabling powerful shell workflows.
The tool provides instant feedback while typing, fuzzy matching for typo tolerance, and preview windows for context. Shell integration adds keybindings for history, files, and directories.
fzf transforms command-line workflows with interactive selection for files, processes, git branches, and more.

PARAMETERS

-m, --multi

Enable multiple selection.
--preview CMD
Preview command.
-q QUERY, --query QUERY
Initial search query.
--height HEIGHT
Display height (rows or percentage).
--reverse
Layout from top.
--border
Draw border.
--bind KEYS
Custom key bindings.
--help
Display help information.

CAVEATS

Requires terminal with full capabilities. Some integrations need shell configuration. Large inputs may be slow.

HISTORY

fzf was created by Junegunn Choi in 2013. Written in Go for performance, it became essential tooling for command-line productivity, spawning integrations across shells, editors, and tools.

SEE ALSO

sk(1), peco(1), fd(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community