Split a file into pieces
low risk
Splits a file by size or line count into numbered chunks.
| Flag | Meaning |
|---|---|
-l | Lines per output file |
-b | Bytes per output file (e.g. 100M) |
-d | Use numeric suffixes |
--additional-suffix --additional-suffix | Append a suffix to chunk names |
split -b 100M -d big.iso part_Split into 100 MB parts · explain & risk-check →split -l 10000 data.csv chunk_10k lines per file · explain & risk-check →Reference text is hand-written and may be incomplete — check man split for your version. Test destructive commands on a non-production system first.