2 Minutes To Code (β Version)

'split' command - 2 minute tutorial

Overview of 'split' command

The unix command split can split up a file into smaller files based on criteria like number of lines per file or size per file.

It is specially useful in scenarios where you have to deal with a huge flat file. Such a file can be broken into more manageable smaller files for analysis using the split command.

We will start with a few basic examples and then explore all the advanced options that 'split' provides in the next few pages.