cat
Verified for current stable LTS
Cat Command: Write Stdin To File
Use for write stdin to file with Cat. Exact CLI syntax to write stdin to file using Cat.
When to use this: Use for write stdin to file with Cat.
Command Syntax
cat - > <path/to/file> cat - > <path/to/file> Command Breakdown
-- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to write stdin to file using Cat.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Cat Command: Append Files To Output
cat <path/to/file1 path/to/file2 ...> >> <path/to/output_file> Cat Command: Concatenate Files To Output cat <path/to/file1 path/to/file2 ...> > <path/to/output_file> Cat Command: Copy File Contents Without Buffering cat -u </dev/tty12> > </dev/tty13> Cat Command: Print File Contents cat <path/to/file> FFmpeg Command: Combine Images Into Video Or Gif ffmpeg -i <path/to/frame_%d.jpg> -f image2 <video.mpg|video.gif>