Return both the typed query and the selection.
Section: Query and output control
Print the final query too
bash
bash
find . -type f | fzf --print-queryExplanation
Useful in scripts when the query itself is meaningful input.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Query and output control
Run in non-interactive filter mode
Use fzf as a fuzzy filter without opening the UI.
Auto-accept single matches
Accept immediately when there is exactly one match.
Open the selected file in an editor
Capture the selected value and open it with $EDITOR.