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> Live Command Builder
Final Command
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 By Regex Osx
split -p <cat|^[dh]og> <path/to/file> Split Command: Split File Each 10 Lines split -l 10 <path/to/file> Split Command: Split File Into 10 Lines Osx 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 5 Equal Parts Osx split -n 5 <path/to/file>