split
Verified for current stable LTS
Split Command: Split Stdin To Multiple Files
Use for split stdin to multiple files with Split. Exact CLI syntax to split stdin to multiple files using Split.
When to use this: Use for split stdin to multiple files with Split.
Command Syntax
gzip -cd <path/to/compressed_file.gz> | split -l <1000> - <path/to/output> gzip -cd <path/to/compressed_file.gz> | split -l <1000> - <path/to/output> Command Breakdown
-cd- Command Option
- Tool-specific option used by this command invocation.
-l- Command Option
- Tool-specific option used by this command invocation.
-- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to split stdin to multiple files using Split.
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
Split Command: Split File Each 10 Lines
split -l 10 <path/to/file> Split Command: Split File Into 5 Equal Parts split -n 5 <path/to/file> Split Command: Split File Into 512 Bytes Pieces split -b 512 <path/to/file> Split Command: Split File Without Breaking Lines 512 Bytes split -C 512 <path/to/file> Gzip Command: Decompress Archive With Output Filename gzip -cd <path/to/file.gz> > <path/to/uncompressed_file>