Linux split command
Function Description: cut a file.
Syntax: split [-- help] [-- version] [-<number of rows>] [-B <byte>] [-C <byte>] [-l <number of rows>] [To cut file] [output file name]
Note: split can cut the file into smaller files. By default, each 1000 lines can be cut into a smaller file.
Parameters:
-<Number of rows> or-l <number of rows> specifies the number of rows to be split into a small file.
-B <byte> specifies the number of characters to be split into a small file. Supported units: m, k
-C <byte> is similar to the-B parameter, but the integrity of each line should be maintained whenever possible during cutting.
-- Help: displays help.
-- Version: displays the version information.
[Output file name] sets the prefix file name of the cut file. split will automatically add a number after the prefix file name.
Example:
Split-B 100 m filename