Address: http://www.php100.com/html/webkaifa/Linux/2010/0303/4033.html
------------------------------------------------------
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