🧀 Learn Linux

Advanced·Reading and processing text

split: Split file by lines

Syntax

split -l Line number file prefix

Examples

split -l 1000 app.log chunk-

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands