Claude Code · Sessions and flags

Pipe content in

Send a file or command output to Claude as context.

cat error.log | claude -p "explain this error"

Official Claude Code documentation

More sessions and flags commands

All sessions and flags commands · Claude Code cheatsheet

Was this page helpful?