Basic pipeline for filtering text from a file.
Section: Overview and Core Patterns
Pipe file content into grep
bash
bash
cat app.log | grep ERRORExplanation
Use a pipeline to send command output into another command for filtering or transformation.
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 Overview and Core Patterns