find . -type f | fzffzf reads from standard input, so any command that prints lines can become an interactive picker.
Core fzf usage patterns for filtering lists, selecting items, and integrating the result into shell workflows.
Use fzf as a standalone fuzzy selector in shell pipelines.
find . -type f | fzffzf reads from standard input, so any command that prints lines can become an interactive picker.
vim "$(find . -type f | fzf)"Classic pattern for launching your editor on a fuzzy-selected file.
find . -type f | fzf -mUse TAB to mark multiple items and Enter to accept them.
ps -ef | fzf --exactHelpful when the result set is noisy and you want strict matching.
ps -ef | fzf --nth=1,8..Useful for ignoring noisy columns while keeping them visible in the UI.
ps -ef | fzf --nth=1,8.. --with-nth=8..Common for process pickers and tabular output.
cut -d: -f1,3 /etc/passwd | fzf --delimiter=':' --with-nth=1Pair this with --nth or --with-nth for structured line formats.
Seed the query, print clean output, and control exit behavior.
git branch --all | fzf --query='feature/'Good for narrowing large lists from the first render.
find . -type f | fzf --print-queryUseful in scripts when the query itself is meaningful input.
find . -type f | fzf --select-1 --exit-0Popular in scripts because it reduces extra keystrokes on precise searches.
printf '%s
' alpha beta gamma | fzf --filter=gmGreat for scripts when you want fzf matching semantics without TUI interaction.