🧀 Learn Linux

Master·Read and process text

csplit: Split text by pattern

Syntax

csplit FILE /PATTERN/

Examples

csplit app.log /ERROR/

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands