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
Claude Code · Sessions and flags
Send a file or command output to Claude as context.
cat error.log | claude -p "explain this error"
Official Claude Code documentation
Was this page helpful?